共用方式為


AVPlayer.SetMediaSelectionCriteria 方法

定義

設定具有特定 avMediaCharacteristic 之媒體的準則。

[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

參數

criteria
AVPlayerMediaSelectionCriteria

即將加入。

這個參數可以是 null

avMediaCharacteristic
NSString
屬性

適用於