Android OpenTV Player SDK  4.23.3.1610362082
OutputControlListener Interface Reference

Interface for receiving events about NMP SDK control content output. More...

Public Member Functions

void onDeviceConnected (int xDeviceType)
 Called when an external output device connect to current device. More...
 
void onDeviceDisconnected (int xDeviceType)
 Called when an external output device disconnect to current device. More...
 
void onAccessStateChanged (int xAccessState)
 Called when SDK changed content output access state. More...
 
void onBitrateLimitCapped (int xBitrate)
 Called when the content stream has bitrate limit set. More...
 
void onResolutionLimitCapped (int xWidth, int xHeight)
 Called when resolution limit is set and the stream can comply to the limit, reporting the current maximum resolution. More...
 

Detailed Description

Interface for receiving events about NMP SDK control content output.

Member Function Documentation

◆ onAccessStateChanged()

void onAccessStateChanged ( int  xAccessState)

◆ onBitrateLimitCapped()

void onBitrateLimitCapped ( int  xBitrate)

Called when the content stream has bitrate limit set.

Parameters
xBitratethe bitrate selected to comply with the bitrate limitation

◆ onDeviceConnected()

void onDeviceConnected ( int  xDeviceType)

◆ onDeviceDisconnected()

void onDeviceDisconnected ( int  xDeviceType)

◆ onResolutionLimitCapped()

void onResolutionLimitCapped ( int  xWidth,
int  xHeight 
)

Called when resolution limit is set and the stream can comply to the limit, reporting the current maximum resolution.

Parameters
xWidththe horizontal resolution selected to comply with the resolution limit
xHeightthe vertical resolution selected to comply with the resolution limit