Bearbeiten

Freigeben über


AVPlayer.MediaSelectionCriteriaForMediaCharacteristic(NSString) Method

Definition

Retrieves the system-specified selection criteria for the avMediaCharacteristic.

[Foundation.Export("mediaSelectionCriteriaForMediaCharacteristic:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual AVFoundation.AVPlayerMediaSelectionCriteria MediaSelectionCriteriaForMediaCharacteristic (Foundation.NSString avMediaCharacteristic);
abstract member MediaSelectionCriteriaForMediaCharacteristic : Foundation.NSString -> AVFoundation.AVPlayerMediaSelectionCriteria
override this.MediaSelectionCriteriaForMediaCharacteristic : Foundation.NSString -> AVFoundation.AVPlayerMediaSelectionCriteria

Parameters

avMediaCharacteristic
NSString

Must be Audible, Legible, or Visual.

Returns

Attributes

Remarks

As of iOS 7, avMediaCharacteristic must be Audible, Legible, or Visual.

Applies to