IOSHapticlabsPlayer extension

iOS-specific extensions for the HapticlabsPlayer.

on

Methods

isAudioMuted() Future<bool>

Available on HapticlabsPlayer, provided by the IOSHapticlabsPlayer extension

Checks whether audio playback defined by AHAP files is currently muted.
isHapticsMuted() Future<bool>

Available on HapticlabsPlayer, provided by the IOSHapticlabsPlayer extension

Checks whether haptics defined by AHAP files are currently muted.
playAHAP(String path) Future<void>

Available on HapticlabsPlayer, provided by the IOSHapticlabsPlayer extension

Plays an AHAP file from the specified path.
setAudioMute(bool mute) Future<void>

Available on HapticlabsPlayer, provided by the IOSHapticlabsPlayer extension

Sets whether audio playback defined by AHAP files should be muted.
setHapticsMute(bool mute) Future<void>

Available on HapticlabsPlayer, provided by the IOSHapticlabsPlayer extension

Sets whether haptics defined by AHAP files should be muted.