SDK Core
Props
isExtensionValid
val isExtensionValid: Boolean
Checks the extension of the file to ensure it can be sent. It is recommended to check before sending a message.
Returns
type:
Boolean
isSizeValid
val isSizeValid: Boolean
Checks the size of the file to ensure it can be sent. It is recommended to check before sending a message.
Returns
type:
Boolean
isValid
val isValid: Boolean
Checks the size and extension of the file to ensure it can be sent. It is recommended to check before sending a message.
Returns
type:
Boolean
size
val size: Long
Returns the size of the file in bytes.
Returns
type:
Long