THEOplayerNativeAbrAPI class

Host API: Dart → Native calls for ABR configuration.

Constructors

THEOplayerNativeAbrAPI({BinaryMessenger? binaryMessenger, String messageChannelSuffix = ''})
Constructor for THEOplayerNativeAbrAPI. The binaryMessenger named argument is available for dependency injection. If it is left null, the default BinaryMessenger will be used which routes to the host platform.

Properties

hashCode → int
The hash code for this object.
no setterinherited
pigeonVar_binaryMessenger → BinaryMessenger?
final
pigeonVar_messageChannelSuffix → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

getAbrStrategy() → Future<AbrStrategyConfigurationPigeon>
Get the current ABR strategy.
getPreferredPeakBitRate() → Future<double>
Get the preferred peak bitrate in bps (iOS only, returns 0 on other platforms).
getTargetBuffer() → Future<double>
Get the target buffer in seconds.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setAbrStrategy(AbrStrategyConfigurationPigeon config) → Future<void>
Set the ABR strategy.
setPreferredPeakBitRate(double value) → Future<void>
Set the preferred peak bitrate in bps (iOS only, no-op on other platforms).
setTargetBuffer(double value) → Future<void>
Set the target buffer in seconds.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

pigeonChannelCodec → const MessageCodec<Object?>