HapticlabsPlayerPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • HapticlabsPlayerPlatform
Implementers

Constructors

HapticlabsPlayerPlatform()
Constructs a HapticlabsPlayerPlatform.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getAndroidConstants() Future<AndroidHapticCapabilities>
isAudioMuted() Future<bool>
isHapticsMuted() Future<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
playAHAP(String path) Future<void>
playHAC(String path) Future<void>
playHaptics({String? androidPath, String? iosPath}) Future<void>
playHLA(String path) Future<void>
playOGG(String path) Future<void>
playPredefinedHaptics({AndroidPredefinedHapticEffect? androidEffect, IOSPredefinedHapticEffect? iosEffect}) Future<void>
preload(String path) Future<void>
preloadOGG(String path) Future<void>
setAudioMute(bool mute) Future<void>
setHapticsMute(bool mute) Future<void>
toString() String
A string representation of this object.
inherited
unload(String path) Future<void>
unloadAll() Future<void>
unloadOGG(String path) Future<void>

Operators

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

Static Properties

instance HapticlabsPlayerPlatform
The default instance of HapticlabsPlayerPlatform to use.
getter/setter pair