SDK Core
Props
isExtensionValid
Read-only
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
Read-only
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
Read-only
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
Read-only
val size: Long
Returns the size of the file in bytes.
Returns
type:
Long