MethodChannelHapticlabsPlayer class

An implementation of HapticlabsPlayerPlatform that uses method channels.

Inheritance

Properties

androidCapabilities AndroidHapticCapabilities?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
methodChannel MethodChannel
The method channel used to interact with the native platform.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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