The callback to report the current playback progress of the media player.
Available since: 1.3.4 Description: The callback triggered when the network status of the media player changes. Set the callback interval by calling [setProgressInterval]. When the callback interval is set to 0, the callback is stopped. The default callback interval is 1 second. Trigger: When the media player is playing network resources, this callback will be triggered when the status change of the cached data. Restrictions: None. Related APIs: [setProgressInterval].
MediaPlayer playback status callback.
Available since: 1.3.4 Description: MediaPlayer playback status callback. Trigger: The callback triggered when the state of the media player changes. Restrictions: None.
Generated using TypeDoc
The callback triggered when the network status of the media player changes.
Available since: 1.3.4 Description: The callback triggered when the network status of the media player changes. Trigger: When the media player is playing network resources, this callback will be triggered when the status change of the cached data. Restrictions: The callback will only be triggered when the network resource is played. Related APIs: [setNetWorkBufferThreshold].
Callback player object.
Network status event.