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
| Name | Description |
|---|---|
| FromPlayer(AVQueuePlayer, AVPlayerItem) | |
| FromPlayer(AVQueuePlayer, AVPlayerItem, CMTimeRange) |
FromPlayer(AVQueuePlayer, AVPlayerItem)
[Foundation.Export("playerLooperWithPlayer:templateItem:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static AVFoundation.AVPlayerLooper FromPlayer(AVFoundation.AVQueuePlayer player, AVFoundation.AVPlayerItem itemToLoop);
[<Foundation.Export("playerLooperWithPlayer:templateItem:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member FromPlayer : AVFoundation.AVQueuePlayer * AVFoundation.AVPlayerItem -> AVFoundation.AVPlayerLooper
Parameters
- player
- AVQueuePlayer
- itemToLoop
- AVPlayerItem
Returns
- Attributes
Applies to
FromPlayer(AVQueuePlayer, AVPlayerItem, CMTimeRange)
[Foundation.Export("playerLooperWithPlayer:templateItem:timeRange:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static AVFoundation.AVPlayerLooper FromPlayer(AVFoundation.AVQueuePlayer player, AVFoundation.AVPlayerItem itemToLoop, CoreMedia.CMTimeRange loopRange);
[<Foundation.Export("playerLooperWithPlayer:templateItem:timeRange:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member FromPlayer : AVFoundation.AVQueuePlayer * AVFoundation.AVPlayerItem * CoreMedia.CMTimeRange -> AVFoundation.AVPlayerLooper
Parameters
- player
- AVQueuePlayer
- itemToLoop
- AVPlayerItem
- loopRange
- CMTimeRange
Returns
- Attributes