AVCaptureDevice.HasTorch 属性

定义

获取设备是否可以用作手电筒。

public virtual bool HasTorch { [Foundation.Export("hasTorch")] get; }
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 7, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool HasTorch { [Foundation.Export("hasTorch")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 7, ObjCRuntime.PlatformArchitecture.All, null)] get; }
member this.HasTorch : bool

属性值

属性

适用于