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#Copypublic class AdaptiveVariants
- Inheritance
-
System.ObjectAdaptiveVariants
Properties
Declaration
C#Copypublic 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 |
---|---|
System.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
Declaration
C#Copypublic 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. |
See Also
API Level: 5
Declaration
C#Copypublic 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. |
System.ArgumentOutOfRangeException |
|