CHHapticAudioResourceKeyUseVolumeEnvelope

Static CHHapticAudioResourceKeyUseVolumeEnvelope 

Source
pub unsafe static CHHapticAudioResourceKeyUseVolumeEnvelope: &'static CHHapticAudioResourceKey
Available on crate feature CHHapticEngine only.
Expand description

Keys used to configure the playback behavior of a custom waveform.

Indicates whether the audio file playback should be ramped in and out with an envelope. This can be useful for preventing clicks during playback, or for cases where the application wants to modulate this envelope to use different attack and release times. Value type: boolean. Default is .

Indicates whether the audio file will be looped when played back. The default loop range is the entire file. Value type: boolean. Default is .

See also Apple’s documentation