Share via


AVCaptureSession.Notifications Class

Definition

Notifications posted by the AVCaptureSession class.

public static class AVCaptureSession.Notifications
type AVCaptureSession.Notifications = class
Inheritance
AVCaptureSession.Notifications

Remarks

This class contains various helper methods that allow developers to observe events posted in the notification hub (NSNotificationCenter).

The methods defined in this class post events that invoke the provided method or lambda with a NSNotificationEventArgs parameter, which contains strongly typed properties for the notification arguments.

Methods

Name Description
ObserveDidStartRunning(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidStartRunningNotification constant.

ObserveDidStartRunning(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidStartRunningNotification constant.

ObserveDidStopRunning(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidStopRunningNotification constant.

ObserveDidStopRunning(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidStopRunningNotification constant.

ObserveInterruptionEnded(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the InterruptionEndedNotification constant.

ObserveInterruptionEnded(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the InterruptionEndedNotification constant.

ObserveRuntimeError(EventHandler<AVCaptureSessionRuntimeErrorEventArgs>)

Strongly typed notification for the RuntimeErrorNotification constant.

ObserveRuntimeError(NSObject, EventHandler<AVCaptureSessionRuntimeErrorEventArgs>)

Strongly typed notification for the RuntimeErrorNotification constant.

ObserveWasInterrupted(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the WasInterruptedNotification constant.

ObserveWasInterrupted(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the WasInterruptedNotification constant.

Applies to