public interface DeskPhoneEventListener
<receiver android:name="com.avaya.deskphoneservices.DeskPhoneEventsBroadcastReceiver" android:enabled="true" tools:ignore="ExportedReceiver">
<intent-filter>
<action android:name="com.avaya.endpoint.action.CONFIG_CHANGED" />
<action android:name="com.avaya.endpoint.action.RESTART" />
<action android:name="com.avaya.endpoint.action.LOGIN_SIGNAL" />
<action android:name="com.avaya.endpoint.action.LOGOUT_SIGNAL" />
<action android:name="android.intent.action.MEDIA_BUTTON" />
</intent-filter>
</receiver>
Modifier and Type | Method and Description |
---|---|
void |
offHook(HandsetType handset)
Called when a connected handset has gone off-hook (removed from its
cradle).
|
void |
onConfigurationChange(java.lang.String configurationString,
CompletionHandler configurationCompletionHandler)
New Configuration received from platform and application should process this
configuration.
|
void |
onHoldResumeEvent()
Called when double-press on hook-switch of USB handset was detected while
there is some established call with USB as active transducer
|
void |
onHook(HandsetType handset)
Called when a connected handset has gone on-hook (returned to its
cradle).
|
void |
onInitialised()
Deskphone services transitions into configured state and is ready to process application.
|
void |
onKeyDown(HardButtonType hardButton)
key down event received from platform via MEDIA_BUTTON intent
|
void |
onKeyUp(HardButtonType hardButton)
key up event received from platform via MEDIA_BUTTON intent
|
void |
onLogin(java.lang.String credentialString,
CompletionHandler loginCompletionHandler)
Login event received from platform.
|
void |
onLogout()
Logout Event Received from platform
|
void |
onRedialEvent(com.avaya.clientservices.media.AudioDevice audioDevice)
Redial button was pressed.
|
void |
onRejectEvent()
Called when double-press on hook-switch of USB handset was detected while
ringing LED was active
|
void onInitialised()
void onConfigurationChange(java.lang.String configurationString, @NonNull CompletionHandler configurationCompletionHandler)
configurationString
- 46XX formatted configuration bufferconfigurationCompletionHandler
- Application to notify completion of configuration processing.void onLogin(java.lang.String credentialString, @NonNull CompletionHandler loginCompletionHandler)
credentialString
- 46XX formatted credentials bufferloginCompletionHandler
- Application to notify completion of login processing.void offHook(@NonNull HandsetType handset)
This usually means that the user wishes to answer or start a new call.
handset
- Which handset went off-hook.void onHook(@NonNull HandsetType handset)
This usually means that the user wishes to end a call.
handset
- Which handset went on-hook.void onRejectEvent()
This usually means that the user wishes to reject a call.
void onRedialEvent(com.avaya.clientservices.media.AudioDevice audioDevice)
audioDevice
- - device via which redial event was accepted.void onHoldResumeEvent()
This usually means that the user wishes to hold/resume a call.
void onLogout()
void onKeyUp(@NonNull HardButtonType hardButton)
hardButton
- Which hard button was releasedvoid onKeyDown(@NonNull HardButtonType hardButton)
hardButton
- Which hard button was pushed