Поделиться через


AVPlayerItem.SelectedMediaOption(AVMediaSelectionGroup) Метод

Определение

Получение текущего выбранного AVMediaSelectionOption объекта в .AVMediaSelectionGroup

[Foundation.Export("selectedMediaOptionInMediaSelectionGroup:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'CurrentMediaSelection' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.None, "Use 'CurrentMediaSelection' instead.")]
public virtual AVFoundation.AVMediaSelectionOption SelectedMediaOption (AVFoundation.AVMediaSelectionGroup inMediaSelectionGroup);
[Foundation.Export("selectedMediaOptionInMediaSelectionGroup:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 8, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual AVFoundation.AVMediaSelectionOption SelectedMediaOption (AVFoundation.AVMediaSelectionGroup inMediaSelectionGroup);
abstract member SelectedMediaOption : AVFoundation.AVMediaSelectionGroup -> AVFoundation.AVMediaSelectionOption
override this.SelectedMediaOption : AVFoundation.AVMediaSelectionGroup -> AVFoundation.AVMediaSelectionOption

Параметры

inMediaSelectionGroup
AVMediaSelectionGroup

Возвращаемое значение

Атрибуты

Применяется к