Class ISN_AVPlayer
An object that provides the interface to control the player’s transport behavior.
Inheritance
Inherited Members
Namespace: SA.iOS.AVFoundation
Assembly: cs.temp.dll.dll
Syntax
public class ISN_AVPlayer
Constructors
ISN_AVPlayer(ISN_NSUrl)
Initializes a new player to play a single audiovisual resource referenced by a given URL.
Declaration
public ISN_AVPlayer(ISN_NSUrl url)
Parameters
Type | Name | Description |
---|---|---|
ISN_NSUrl | url | A URL that identifies an audiovisual resource. |
Properties
Url
A URL that identifies an audiovisual resource.
Declaration
public ISN_NSUrl Url { get; }
Property Value
Type | Description |
---|---|
ISN_NSUrl |
Volume
The audio playback volume for the player, ranging from 0.0 through 1.0 on a linear scale.
A value of 0.0 indicates silence; a value of 1.0 (the default) indicates full audio volume for the player instance.
This property is used to control the player audio volume relative to the system volume. There is no programmatic way to control the system volume in iOS, but you can use the MediaPlayer framework’s MPVolumeView class to present a standard user interface for controlling system volume. MPVolumeView is not yet implemented with the IOS Native plugin
Declaration
public float Volume { get; set; }
Property Value
Type | Description |
---|---|
System.Single |