VibrationEffect class

Describes a haptic effect to be performed by a Vibrator.

These effects may be any number of things, from single shot vibrations to complex waveforms.

See: https://developer.android.com/reference/android/os/VibrationEffect

Implemented types

Constructors

VibrationEffect()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
parcelableCreator String
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

describeContents() int
Describe any special objects contained in this instance's marshaled representation. [...]
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited
writeToParcel(Parcel parcel, [int flags = 0]) → void
Flatten this object in to a Parcel. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

Constants

DEFAULT_AMPLITUDE → const int
The default vibration strength of the device. [...]
-1