次の方法で共有


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

プロパティ値

属性

適用対象