Show / Hide Table of Contents

Class ISN_AVPlayerViewController

An object that displays the video content from a player object along with system-supplied playback controls.

Using ISN_AVPlayerViewController makes it easy for you to add media playback capabilities to your application matching the styling and features of the native system players. Since ISN_AVPlayerViewController is a system framework class, your playback applications automatically adopt the new aesthetics and features of future operating system updates without any additional work from you.

Important Do not subclass ISN_AVPlayerViewController. Overriding this class’s methods is unsupported and results in undefined behavior.

Inheritance
System.Object
ISN_AVPlayerViewController
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: SA.iOS.AVKit
Assembly: cs.temp.dll.dll
Syntax
public class ISN_AVPlayerViewController

Properties

AllowsPictureInPicturePlayback

A Boolean value that indicates whether the player view controller allows Picture in Picture playback on iPad.

Default value is true. To disable Picture in Picture playback, set this value to false.

Declaration
public bool AllowsPictureInPicturePlayback { get; set; }
Property Value
Type Description
System.Boolean

Player

The player that provides the media content for the player view controller.

Declaration
public ISN_AVPlayer Player { get; set; }
Property Value
Type Description
ISN_AVPlayer

ShouldCloseWhenFinished

A Boolean value that indicates whether the player view controller should automatically close, when current player item has finished playing.

Default value is true.

Declaration
public bool ShouldCloseWhenFinished { get; set; }
Property Value
Type Description
System.Boolean

ShowsPlaybackControls

A Boolean value that indicates whether the player view controller shows playback controls.

Default value is true. You can set this property to false if you don't want the system-provided playback controls visible over your content. Hiding the playback controls can be useful in situations where you need a non-interactive video presentation, such as a video splash screen.

Do not use this property to change the visibility of the playback controls while the player view controller is onscreen, because doing so creates or destroys UI elements.

Declaration
public bool ShowsPlaybackControls { get; set; }
Property Value
Type Description
System.Boolean

Methods

Show()

Show configured view controller

Declaration
public void Show()
In This Article
Back to top Generated by DocFX