Package io.getstream.core.options
Class Resize
- java.lang.Object
-
- io.getstream.core.options.Resize
-
- All Implemented Interfaces:
RequestOption
public final class Resize extends java.lang.Object implements RequestOption
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classResize.Type
-
Constructor Summary
Constructors Constructor Description Resize(int width, int height)Resize(int width, int height, Resize.Type type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapply(Request.Builder builder)intgetHeight()Resize.TypegetType()intgetWidth()
-
-
-
Constructor Detail
-
Resize
public Resize(int width, int height, Resize.Type type)
-
Resize
public Resize(int width, int height)
-
-
Method Detail
-
getType
public Resize.Type getType()
-
getWidth
public int getWidth()
-
getHeight
public int getHeight()
-
apply
public void apply(Request.Builder builder)
- Specified by:
applyin interfaceRequestOption
-
-