Freigeben über


AVPlayer.SetMediaSelectionCriteria Methode

Definition

Legt Kriterien für Medien fest, die über den spezifischen avMediaCharacteristicverfügen.

[Foundation.Export("setMediaSelectionCriteria:forMediaCharacteristic:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void SetMediaSelectionCriteria (AVFoundation.AVPlayerMediaSelectionCriteria criteria, Foundation.NSString avMediaCharacteristic);
abstract member SetMediaSelectionCriteria : AVFoundation.AVPlayerMediaSelectionCriteria * Foundation.NSString -> unit
override this.SetMediaSelectionCriteria : AVFoundation.AVPlayerMediaSelectionCriteria * Foundation.NSString -> unit

Parameter

criteria
AVPlayerMediaSelectionCriteria

Muss hinzugefügt werden.

Dieser Parameter kann null sein.

avMediaCharacteristic
NSString
Attribute

Gilt für: