Class AdaptiveVariants
Definition
- Namespace:
- Tizen.Multimedia
- Assembly:
- Tizen.Multimedia.MediaPlayer.dll
Provides the ability to control the maximum limit of the available streaming variant for Player.
public class AdaptiveVariants
- Inheritance
-
objectAdaptiveVariants
Properties
View SourceAvailableAdaptiveVariants
Retrieves all the available adaptive variants.
Declaration
public IEnumerable<VariantInfo> AvailableAdaptiveVariants { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<T><VariantInfo> | It returns a list contained all the available adaptive variants. |
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | The player is not in the valid state. |
System.ObjectDisposedException | The Tizen.Multimedia.AdaptiveVariants.Player has already been disposed of. |
See Also
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 |
---|---|
System.ObjectDisposedException | The Tizen.Multimedia.AdaptiveVariants.Player has already been disposed of. |
See Also
View SourceSetMaxLimit(int, int, int)
Sets the maximum limit of the streaming variant.
Declaration
public void SetMaxLimit(int bandwidth, int width = -1, int height = -1)
Parameters
Type | Name | Description |
---|---|---|
int | bandwidth | |
int | width | |
int | height |
Exceptions
Type | Condition |
---|---|
System.ObjectDisposedException | The Tizen.Multimedia.AdaptiveVariants.Player has already been disposed of. |
System.ArgumentOutOfRangeException |
|