Callbacks to monitor the transfer of the Cast session to another endpoint.
| @interface | SessionTransferCallback.TransferFailedReason | The failure reason of transferring to the new endpoint. | |
| @interface | SessionTransferCallback.TransferType | The transfer type of switching endpoints. | |
| int | TRANSFER_FAILED_REASON_STORE_SESSION_STATE | |
| int | TRANSFER_FAILED_REASON_TRANSFER_TIMEOUT | |
| int | TRANSFER_TYPE_FROM_REMOTE_TO_LOCAL | |
| int | TRANSFER_TYPE_UNKNOWN |
| void |
onTransferFailed(int transferType, int reason)
Called when transferring the Cast session to a different endpoint has failed.
|
| void |
onTransferred(int transferType, SessionState sessionState)
Called when the Cast session is transferred to a different endpoint.
|
| void |
onTransferring(int transferType)
Called when the Cast session is transferring to a different endpoint.
|
Called when transferring the Cast session to a different endpoint has failed.
| transferType | the type of endpoint transfer |
|---|---|
| reason | the reason of the failed transfer |
Called when the Cast session is transferred to a different endpoint.
| transferType | the type of endpoint transfer |
|---|---|
| sessionState | the SessionState
for resuming the playback |
Called when the Cast session is transferring to a different endpoint.
| transferType | the type of endpoint transfer |
|---|