SupportState

Indicates whether the current type of data is supported now.

Entries

Link copied to clipboard

For compatibility, will not be return normally.

Link copied to clipboard

The current type of data is supported now.

Link copied to clipboard

The current type of data is not supported on the current device now, possibly because the device is not connected or not in use yet. The state will automatically change to SupportState.SUPPORTED when the date is supported.

Link copied to clipboard

Receiving the current type of data needs the application to run in full space, but it is currently in shared space. It will automatically change to SupportState.SUPPORTED when running in full space.

Link copied to clipboard

Receiving this type of data requires a specific permission, which has not been granted yet. The state will automatically change to SupportState.SUPPORTED once the permission is granted.

Link copied to clipboard

Represents a value not recognized by this version of the SDK.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
val value: Int

The integer value of the support state.

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.