AVAudioSessionInterruptionEventArgs Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides data for an event based on a posted NSNotification object.
public class AVAudioSessionInterruptionEventArgs : Foundation.NSNotificationEventArgs
type AVAudioSessionInterruptionEventArgs = class
inherit NSNotificationEventArgs
- Inheritance
Constructors
| Name | Description |
|---|---|
| AVAudioSessionInterruptionEventArgs(NSNotification) |
Initializes a new instance of the AVAudioSessionInterruptionEventArgs class. |
Properties
| Name | Description |
|---|---|
| InterruptionType |
Gets a value that tells whether the interruption began or ended. |
| Notification |
Gets the underlying NSNotification object from the posted notification. (Inherited from NSNotificationEventArgs) |
| Option |
Gets a value that tells whether playback should resume. |
| Reason |
The value of the |
| WasSuspended |
Gets a Boolean value that tells whether the reason for the interruption was that the app was suspended. |