AVPlayerItem.AddMediaDataCollector(AVPlayerItemMediaDataCollector) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- collector
- AVPlayerItemMediaDataCollector
The AVPlayerItemMediaDataCollector to add.
- Attributes
Remarks
This method adds items to the MediaDataCollectors property.