共用方式為


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

屬性值

屬性

適用於