CMSensorRecorder.IsAuthorizedForRecording 属性

定义

开发人员不应使用此已弃用的属性。 开发人员应改用“CMSensorRecorder.AuthorizationStatus”。

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'CMSensorRecorder.AuthorizationStatus' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'CMSensorRecorder.AuthorizationStatus' instead.")]
public static bool IsAuthorizedForRecording { [Foundation.Export("isAuthorizedForRecording")] [ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'CMSensorRecorder.AuthorizationStatus' instead.")] [ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'CMSensorRecorder.AuthorizationStatus' instead.")] get; }
member this.IsAuthorizedForRecording : bool

属性值

属性

适用于