Share via


AVAssetWriterInput.PreferredMediaChunkDuration 属性

定义

示例数据中媒体区块的持续时间。

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual CoreMedia.CMTime PreferredMediaChunkDuration { [Foundation.Export("preferredMediaChunkDuration")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)] get; [Foundation.Export("setPreferredMediaChunkDuration:")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)] set; }
member this.PreferredMediaChunkDuration : CoreMedia.CMTime with get, set

属性值

默认值 Invalid为 ,指示系统应使用默认值。

属性

适用于