AVPlayer.ClosedCaptionDisplayEnabled 属性

定义

播放器是否显示隐藏式字幕。

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.None, null)]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, null)]
public virtual bool ClosedCaptionDisplayEnabled { [Foundation.Export("isClosedCaptionDisplayEnabled")] [ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.None, null)] [ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, null)] get; [Foundation.Export("setClosedCaptionDisplayEnabled:")] [ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.None, null)] [ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, null)] set; }
public virtual bool ClosedCaptionDisplayEnabled { [Foundation.Export("isClosedCaptionDisplayEnabled")] get; [Foundation.Export("setClosedCaptionDisplayEnabled:")] set; }
member this.ClosedCaptionDisplayEnabled : bool with get, set

属性值

属性

适用于