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.
public class AdaptiveVariants
- Inheritance
-
AdaptiveVariants
Properties
View SourceAvailableAdaptiveVariants
Retrieves all the available adaptive variants.
Declaration
public IEnumerable<VariantInfo> AvailableAdaptiveVariants { get; }
Property Value
Type | Description |
---|---|
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 SourceGetMaxLimit()
Gets the maximum limit of the streaming variant.
Declaration
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. |
See Also
API Level: 5
View SourceSetMaxLimit(Int32, Int32, Int32)
Sets the maximum limit of the streaming variant.
Declaration
public void SetMaxLimit(int bandwidth, int width = -1, int height = -1)
Parameters
Type | Name | Description |
---|---|---|
Int32 | bandwidth | |
Int32 | width | |
Int32 | height |
Exceptions
Type | Condition |
---|---|
ObjectDisposedException | The Tizen.Multimedia.AdaptiveVariants.Player has already been disposed of. |
ArgumentOutOfRangeException |
|