Düzenle

Aracılığıyla paylaş


AVAudioPlayer.NumberOfLoops Property

Definition

The number of times the sound should repeat.

public virtual nint NumberOfLoops { [Foundation.Export("numberOfLoops")] get; [Foundation.Export("setNumberOfLoops:")] set; }
member this.NumberOfLoops : nint with get, set

Property Value

System.System.IntPtr System.nativeint

The default value is 0.

Attributes

Remarks

This zero-based value specifies the number of times the sound is repeated after its initial playing. In other words, a value of 1 will result in the sound being played 2 times.

Applies to