Düzenle

Aracılığıyla paylaş


AVPlayerItem.AddMediaDataCollector(AVPlayerItemMediaDataCollector) Method

Definition

Adds the specified collector to the array of AVPlayerItemMediaDataCollector items that belong to this AV player item..

[Foundation.Export("addMediaDataCollector:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 3, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 9, 2, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void AddMediaDataCollector (AVFoundation.AVPlayerItemMediaDataCollector collector);
abstract member AddMediaDataCollector : AVFoundation.AVPlayerItemMediaDataCollector -> unit
override this.AddMediaDataCollector : AVFoundation.AVPlayerItemMediaDataCollector -> unit

Parameters

Attributes

Remarks

This method adds items to the MediaDataCollectors property.

Applies to