AVPlayerLooper.FromPlayer Метод
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Перегрузки
FromPlayer(AVQueuePlayer, AVPlayerItem) |
Создает новый AVPlayerLooper объект из указанных |
FromPlayer(AVQueuePlayer, AVPlayerItem, CMTimeRange) |
Создает новый AVPlayerLooper объект из указанных |
FromPlayer(AVQueuePlayer, AVPlayerItem)
Создает новый AVPlayerLooper объект из указанных player
и itemToLoop
.
[Foundation.Export("playerLooperWithPlayer:templateItem:")]
public static AVFoundation.AVPlayerLooper FromPlayer (AVFoundation.AVQueuePlayer player, AVFoundation.AVPlayerItem itemToLoop);
static member FromPlayer : AVFoundation.AVQueuePlayer * AVFoundation.AVPlayerItem -> AVFoundation.AVPlayerLooper
Параметры
- player
- AVQueuePlayer
- itemToLoop
- AVPlayerItem
Возвращаемое значение
- Атрибуты
Применяется к
FromPlayer(AVQueuePlayer, AVPlayerItem, CMTimeRange)
Создает новый AVPlayerLooper объект из указанных player
, itemToLoop
и loopRange
.
[Foundation.Export("playerLooperWithPlayer:templateItem:timeRange:")]
public static AVFoundation.AVPlayerLooper FromPlayer (AVFoundation.AVQueuePlayer player, AVFoundation.AVPlayerItem itemToLoop, CoreMedia.CMTimeRange loopRange);
static member FromPlayer : AVFoundation.AVQueuePlayer * AVFoundation.AVPlayerItem * CoreMedia.CMTimeRange -> AVFoundation.AVPlayerLooper
Параметры
- player
- AVQueuePlayer
- itemToLoop
- AVPlayerItem
- loopRange
- CMTimeRange
Возвращаемое значение
- Атрибуты