VibrateType

Push notification vibration setting. Application must use VIBRATE permission in order for vibration to work.

See also

Entries

Link copied to clipboard

Notification causes vibration if AudioManager ringer mode is RINGER_MODE_VIBRATE.

Link copied to clipboard

Notification will not cause vibration.

Link copied to clipboard

Notification will always cause vibration.

Properties

Link copied to clipboard
val value: Int

Functions

Link copied to clipboard
open fun fromInt(x: Int): VibrateType
Link copied to clipboard
open fun valueOf(name: String): VibrateType

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
open fun values(): Array<VibrateType>

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.