Rate this page:

SDK Core

Props

isExtensionValid
Read-only
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
Read-only
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
Read-only
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
Read-only
Copy URL
val size: 

Long

Returns the size of the file in bytes.

Returns

  • type:

    Long

Rate this page: