public interface HandsetHookListener
Modifier and Type | Method and Description |
---|---|
void |
onHandsetOffHook(HandsetType handset)
Called when a connected handset has gone off-hook (removed from its
cradle).
|
void |
onHandsetOnHook(HandsetType handset)
Called when a connected handset has gone on-hook (returned to its
cradle).
|
void onHandsetOffHook(@NonNull HandsetType handset)
This usually means that the user wishes to answer or start a new call.
handset
- Which handset went off-hook.void onHandsetOnHook(@NonNull HandsetType handset)
This usually means that the user wishes to end a call.
handset
- Which handset went on-hook.