interface UserActionApi: MKPlayerApi, Any
Methods
enterFullscreen
abstract fun enterFullscreen()
The playback will enter to the full screen on user action
ReturnValue
Name | Description |
---|---|
Unit
|
exitFullscreen
abstract fun exitFullscreen()
The playback will leave/exit full screen on user action
ReturnValue
Name | Description |
---|---|
Unit
|
isFullscreen
abstract fun isFullscreen(): Boolean?
This method will return state of the full screen
ReturnValue
Name | Description |
---|---|
Boolean?
|
state of full screen |
setScalingMode
abstract fun setScalingMode(scalingMode: MKPScalingMode)
Sets a new MKPScalingMode.
Parameters
Name | Description |
---|---|
scalingMode: MKPScalingMode
|
Scaling mode value |
ReturnValue
Name | Description |
---|---|
Unit
|
getScalingMode
abstract fun getScalingMode(): MKPScalingMode
Returns the current MKPScalingMode.
ReturnValue
Name | Description |
---|---|
MKPScalingMode
|
current scaling mode |
Defines the user action's while playback.