Rate this page:

SDK Core

Props

isExtensionValid

Copy URL
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

Copy URL
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

Copy URL
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

Copy URL
val size: 

Long

Returns the size of the file in bytes.

Returns

  • type:

    Long