SpatialAudioEffectConfiguration
@Stable
Configuration for SpatialAudioEffectPlayer. Provide default sound effect for each operation.
Constructors
Link copied to clipboard
constructor(opClickEffect: SpatialSoundEffect = SpatialSoundEffect.OpClick, opDragBeginEffect: SpatialSoundEffect = SpatialSoundEffect.OpDragBegin, opDragEndEffect: SpatialSoundEffect = SpatialSoundEffect.OpDragEnd, opDragScaleEffect: SpatialSoundEffect = SpatialSoundEffect.OpDragScale, opCloseEffect: SpatialSoundEffect = SpatialSoundEffect.OpClose, opLongPressEffect: SpatialSoundEffect = SpatialSoundEffect.OpLongPress, stateSelectEffect: SpatialSoundEffect = SpatialSoundEffect.StateSelected, stateUnselectEffect: SpatialSoundEffect = SpatialSoundEffect.StateUnselected, stateOnEffect: SpatialSoundEffect = SpatialSoundEffect.StateOn, stateOffEffect: SpatialSoundEffect = SpatialSoundEffect.StateOff, stateSuccessEffect: SpatialSoundEffect = SpatialSoundEffect.StateSuccess, stateFailureEffect: SpatialSoundEffect = SpatialSoundEffect.StateFailure)
Types
Properties
Link copied to clipboard
Click sound effect in configuration.
Link copied to clipboard
Close operation sound effect in configuration.
Link copied to clipboard
Drag begin sound effect in configuration.
Link copied to clipboard
Drag end sound effect in configuration.
Link copied to clipboard
Drag scale sound effect in configuration.
Link copied to clipboard
Long press sound effect in configuration.
Link copied to clipboard
Failure state sound effect in configuration.
Link copied to clipboard
Off state sound effect in configuration.
Link copied to clipboard
On state sound effect in configuration.
Link copied to clipboard
Select state sound effect in configuration.
Link copied to clipboard
Success state sound effect in configuration.
Link copied to clipboard
Unselect state sound effect in configuration.
Functions
Link copied to clipboard
fun copy(opClickEffect: SpatialSoundEffect = this.opClickEffect, opDragBeginEffect: SpatialSoundEffect = this.opDragBeginEffect, opDragEndEffect: SpatialSoundEffect = this.opDragEndEffect, opDragScaleEffect: SpatialSoundEffect = this.opDragScaleEffect, opCloseEffect: SpatialSoundEffect = this.opCloseEffect, opLongPressEffect: SpatialSoundEffect = this.opLongPressEffect, stateSelectEffect: SpatialSoundEffect = this.stateSelectEffect, stateUnselectEffect: SpatialSoundEffect = this.stateUnselectEffect, stateOnEffect: SpatialSoundEffect = this.stateOnEffect, stateOffEffect: SpatialSoundEffect = this.stateOffEffect, stateSuccessEffect: SpatialSoundEffect = this.stateSuccessEffect, stateFailureEffect: SpatialSoundEffect = this.stateFailureEffect): SpatialAudioEffectConfiguration
Copies this configuration with new values.