public abstract class NativeVibrationSpec extends ReactContextBaseJavaModule implements ReactModuleWithSpec, TurboModule
NativeModule.NativeMethod
METHOD_TYPE_ASYNC, METHOD_TYPE_PROMISE, METHOD_TYPE_SYNC
Constructor and Description |
---|
NativeVibrationSpec(ReactApplicationContext reactContext) |
Modifier and Type | Method and Description |
---|---|
abstract void |
cancel() |
abstract void |
vibrate(double pattern) |
abstract void |
vibrateByPattern(ReadableArray pattern,
double repeat) |
getCurrentActivity, getReactApplicationContext, getReactApplicationContextIfActiveOrWarn
canOverrideExistingModule, getConstants, hasConstants, initialize, invalidate, onCatalystInstanceDestroy
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
invalidate
getName
public NativeVibrationSpec(ReactApplicationContext reactContext)
public abstract void cancel()
public abstract void vibrateByPattern(ReadableArray pattern, double repeat)
public abstract void vibrate(double pattern)