public static interface SonicSession.Callback
限定符和类型 | 方法和说明 |
---|---|
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 session, int oldState, int newState, android.os.Bundle extraData)
session
- Current session.oldState
- The old state.newState
- The next state.extraData
- Extra data.