AudioSession.InterruptionType 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
當 AudioSession 中斷時,用來判斷適當動作的中斷類型。
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.None, "AudioSession[Get|Set]Property are deprecated in iOS7")]
public static AudioToolbox.AudioSessionInterruptionType InterruptionType { get; }
member this.InterruptionType : AudioToolbox.AudioSessionInterruptionType
屬性值
- 屬性
備註
只有在從 Interrupted 事件處理常式呼叫時,這個屬性的值才有效。