AVCaptureSession.Notifications 类

定义

AVCaptureSession 发布的通知。

public static class AVCaptureSession.Notifications
type AVCaptureSession.Notifications = class
继承
AVCaptureSession.Notifications

注解

这是一个静态类,其中包含各种帮助程序方法,使开发人员能够观察 iOS 通知中心 (NSNotificationCenter) 发布的事件。

此类中定义的方法发布事件后,使用 NSNotificationEventArgs 包含通知参数的强类型属性的参数调用提供的方法或 lambda。

方法

ObserveDidStartRunning(EventHandler<NSNotificationEventArgs>)

常量的强类型通知 DidStartRunningNotification

ObserveDidStartRunning(NSObject, EventHandler<NSNotificationEventArgs>)

常量的强类型通知 DidStartRunningNotification

ObserveDidStopRunning(EventHandler<NSNotificationEventArgs>)

常量的强类型通知 DidStopRunningNotification

ObserveDidStopRunning(NSObject, EventHandler<NSNotificationEventArgs>)

常量的强类型通知 DidStopRunningNotification

ObserveInterruptionEnded(EventHandler<NSNotificationEventArgs>)

常量的强类型通知 InterruptionEndedNotification

ObserveInterruptionEnded(NSObject, EventHandler<NSNotificationEventArgs>)

常量的强类型通知 InterruptionEndedNotification

ObserveRuntimeError(EventHandler<AVCaptureSessionRuntimeErrorEventArgs>)

常量的强类型通知 RuntimeErrorNotification

ObserveRuntimeError(NSObject, EventHandler<AVCaptureSessionRuntimeErrorEventArgs>)

常量的强类型通知 RuntimeErrorNotification

ObserveWasInterrupted(EventHandler<NSNotificationEventArgs>)

常量的强类型通知 WasInterruptedNotification

ObserveWasInterrupted(NSObject, EventHandler<NSNotificationEventArgs>)

常量的强类型通知 WasInterruptedNotification

适用于