public static class FileMessage.ThumbnailSize
extends java.lang.Object
BaseChannel.sendFileMessage(File, String, String, int, String, String, List, BaseChannel.SendFileMessageHandler)
by passing List
of this instance.Constructor and Description |
---|
ThumbnailSize(int maxWidth,
int maxHeight)
Constructor with maximum width and height of to-be-made thumbnail.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
int |
getMaxHeight()
Returns the maximum height of thumbnail to be generated.
|
int |
getMaxWidth()
Returns the maximum width of thumbnail to be generated.
|
int |
hashCode() |
java.lang.String |
toString() |
public ThumbnailSize(int maxWidth, int maxHeight)
maxWidth
- Maximum width of to-be-made thumbnail. The value should be greater than 0.maxHeight
- Maximum height of to-be-made thumbnail. The value should be greater than 0.public int getMaxWidth()
public int getMaxHeight()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2021, Sendbird or its affiliates. All rights reserved.
Report a bug or request a feature
For further developer documentation, see Chat SDK Documentation. That documentation contains more detailed descriptions, conceptual overviews, definitions of terms, and code examples.