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 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
Copy this configuration with new values.