CMSensorRecorder.IsAuthorizedForRecording 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
開發人員不應該使用此已被取代的屬性。 開發人員應該改用 '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
屬性值
- 屬性