Modifica

Condividi tramite


AVAudioSessionInterruptionEventArgs Class

Definition

Provides data for the event.

public class AVAudioSessionInterruptionEventArgs : Foundation.NSNotificationEventArgs
type AVAudioSessionInterruptionEventArgs = class
    inherit NSNotificationEventArgs
Inheritance
AVAudioSessionInterruptionEventArgs

Constructors

AVAudioSessionInterruptionEventArgs(NSNotification)

Initializes a new instance of the AVAudioSessionInterruptionEventArgs class.

Properties

InterruptionType

Gets a value that tells whether the interruption began or ended.

Notification

The underlying NSNotification object from the posted notification.

(Inherited from NSNotificationEventArgs)
Option

Gets a value that tells whether playback should resume.

WasSuspended

Gets a Boolean value that tells whether the reason for the interruption was that the app was suspended.

Applies to