Edytuj

Udostępnij za pośrednictwem


AVCaptureTorchMode Enum

Definition

The capture device torch mode.

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public enum AVCaptureTorchMode
type AVCaptureTorchMode = 
Inheritance
AVCaptureTorchMode
Attributes

Fields

Name Value Description
Off 0

Never uses the torch.

On 1

Always uses the torch.

Auto 2

Uses the torch based on the available light measured.

Applies to