共用方式為


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

屬性值

屬性

適用於