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 class
Resize.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 void
apply(Request.Builder builder)
int
getHeight()
Resize.Type
getType()
int
getWidth()
-
-
-
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:
apply
in interfaceRequestOption
-
-