com.avaya.deskphoneservices

## Interface HandsetHookListener

- All Known Implementing Classes:
    DefaultVantageAudioDeviceHandler

      public interface HandsetHookListener

  Listener interface to be notified of changes to the on-hook status of connected handsets.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    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).

- - ### Method Detail

    - #### onHandsetOffHook

          void onHandsetOffHook(@NonNull
                                HandsetType handset)

      Called when a connected handset has gone off-hook (removed from its cradle).

      This usually means that the user wishes to answer or start a new call.

      Parameters:
        `handset` - Which handset went off-hook.

    - #### onHandsetOnHook

          void onHandsetOnHook(@NonNull
                               HandsetType handset)

      Called when a connected handset has gone on-hook (returned to its cradle).

      This usually means that the user wishes to end a call.

      Parameters:
        `handset` - Which handset went on-hook.