sonic-android/docs/javadoc/com/tencent/sonic/sdk/SonicSession.Callback.html
com.tencent.sonic.sdk
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.
|
-
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.