Back to Vassonic

SonicSession.Callback (sdk 3.0.0 API)

sonic-android/docs/javadoc/com/tencent/sonic/sdk/SonicSession.Callback.html

3.1.12.9 KB
Original Source

跳过导航链接

com.tencent.sonic.sdk

接口 SonicSession.Callback


public static interfaceSonicSession.Callback

The interface is used to inform the listeners that the state of the session has changed.

方法概要

所有方法 实例方法 抽象方法 | 限定符和类型 | 方法和说明 | | --- | --- | | void | onSessionStateChange(SonicSession session, int oldState, int newState, android.os.Bundle extraData) When the session's state changes, this method will be invoked. |

方法详细资料

- 

onSessionStateChange

void onSessionStateChange([SonicSession](../../../../com/tencent/sonic/sdk/SonicSession.html "com.tencent.sonic.sdk中的类")session,
                          int oldState,
                          int newState,
                          android.os.Bundle extraData)

When the session's state changes, this method will be invoked. 参数:session - Current session.oldState - The old state.newState - The next state.extraData - Extra data.

跳过导航链接