Class AdaptiveVariants

Definition

Namespace:
Tizen.Multimedia
Assembly:
Tizen.Multimedia.MediaPlayer.dll
API Level:
5

Provides the ability to control the maximum limit of the available streaming variant for Player.

C#
Copy
public class AdaptiveVariants
Inheritance
AdaptiveVariants

Properties

View Source

AvailableAdaptiveVariants

Retrieves all the available adaptive variants.

Declaration
C#
Copy
public IEnumerable<VariantInfo> AvailableAdaptiveVariants { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<VariantInfo>

It returns a list contained all the available adaptive variants.

Exceptions
Type Condition
InvalidOperationException

The player is not in the valid state.

ObjectDisposedException

The Tizen.Multimedia.AdaptiveVariants.Player has already been disposed of.

See Also
API Level: 5

Methods

View Source

GetMaxLimit()

Gets the maximum limit of the streaming variant.

Declaration
C#
Copy
public VariantInfo GetMaxLimit()
Returns
Type Description
VariantInfo

The VariantInfo containing the variant information.

Exceptions
Type Condition
ObjectDisposedException

The Tizen.Multimedia.AdaptiveVariants.Player has already been disposed of.

API Level: 5
View Source

SetMaxLimit(Int32, Int32, Int32)

Sets the maximum limit of the streaming variant.

Declaration
C#
Copy
public void SetMaxLimit(int bandwidth, int width = -1, int height = -1)
Parameters
Type Name Description
System.Int32 bandwidth
System.Int32 width
System.Int32 height
Exceptions
Type Condition
ObjectDisposedException

The Tizen.Multimedia.AdaptiveVariants.Player has already been disposed of.

ArgumentOutOfRangeException

is less than -1.
-or-
is less than -1.
-or-
is less than -1.

See Also
API Level: 5