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 current type of data need application running in full space, but it is in shared space now. It will auto change to SupportState.SUPPORTED when it is 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.

Properties

Link copied to clipboard

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

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.