Modifier

Partager via


AVCaptureSessionInterruptionReason Enum

Definition

Enumerates ways that a capture session can be interrupted.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public enum AVCaptureSessionInterruptionReason
type AVCaptureSessionInterruptionReason = 
Inheritance
AVCaptureSessionInterruptionReason
Attributes

Fields

Name Value Description
VideoDeviceNotAvailableInBackground 1

Indicates that the app was sent to the background while capturing.

AudioDeviceInUseByAnotherClient 2

Indicates that another client began using the audio capture device.

VideoDeviceInUseByAnotherClient 3

Indicates that another client began using the video capture device.

VideoDeviceNotAvailableWithMultipleForegroundApps 4

Indicates that the app was displayed in Slide Over, Split View, or PIP mode, which would result in resource contention and degraded capture quality.

VideoDeviceNotAvailableDueToSystemPressure 5

Applies to