AVPlayerLooper.FromPlayer Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
FromPlayer(AVQueuePlayer, AVPlayerItem) |
Creates a new AVPlayerLooper from the specified |
FromPlayer(AVQueuePlayer, AVPlayerItem, CMTimeRange) |
Creates a new AVPlayerLooper from the specified |
FromPlayer(AVQueuePlayer, AVPlayerItem)
Creates a new AVPlayerLooper from the specified player
and 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
Parameters
- player
- AVQueuePlayer
- itemToLoop
- AVPlayerItem
Returns
- Attributes
Applies to
FromPlayer(AVQueuePlayer, AVPlayerItem, CMTimeRange)
Creates a new AVPlayerLooper from the specified player
, itemToLoop
, and 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
Parameters
- player
- AVQueuePlayer
- itemToLoop
- AVPlayerItem
- loopRange
- CMTimeRange
Returns
- Attributes