Skip to content

Commit c62fdfb

Browse files
authored
Update hisplayer-api.md
1 parent bfce719 commit c62fdfb

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

hisplayer-api.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ The following public APIs are provided by **HISPlayerManager**
5454
* **HISPLAYER_EVENT_AUTO_TRANSITION**
5555
* **HISPLAYER_EVENT_PLAYBACK_BUFFERING**
5656
* **HISPLAYER_EVENT_END_OF_CONTENT**
57+
* **HISPLAYER_EVENT_NETWORK_CONNECTED**
5758

5859
* **public enum HISPlayerError**: The list of errors provided by HISPlayer SDK. The errors can be used with the virtual functions in the next section:
5960
* **HISPLAYER_ERROR_LICENSE_EXPIRED** (no function on this)
@@ -273,6 +274,10 @@ This event occurs whenever an internal playback is buffering.
273274
Override this method to add custom logic when **HISPlayerEvent.HISPlayer_EVENT_END_OF_CONTENT** is triggered.
274275
This event occurs whenever an internal playlist reaches the end of the list.
275276

277+
#### protected virtual void EventNetworkConnected(HISPlayerEventInfo subtitlesInfo)
278+
Override this method to add custom logic when **HISPlayerEvent.HISPlayerEvent.HISPLAYER_EVENT_NETWORK_CONNECTED** is triggered.
279+
This event occurs whenever the network has been reconnected.
280+
276281
#### protected virtual void ErrorInfo(HISPlayerErrorInfo errorInfo)
277282
Override this method to add custom logic when an error callback is triggered. Please, refer to the **HISPlayerError** list.
278283

0 commit comments

Comments
 (0)