public interface DeskPhoneService
Modifier and Type | Method and Description |
---|---|
com.avaya.clientservices.media.AudioInterface |
getAudioInterface()
Get a reference to an object that wraps
AudioInterface and handles Transducer
LED buttons |
HandsetManager |
getHandsetManager()
Get a reference to the object that keeps track of off-hook handsets.
|
boolean |
isActiveSdkPhoneApp()
Returns if executing app is running as active sdk phone app on platform.
|
void |
onReloadConfiguration()
Sends reload configuration event to Desk phone platform.
|
void |
onRemoteReboot()
Sends reboot event to Desk phone platform.
|
void |
pauseConfigurationEvents()
Pause the configuration event notifications.
|
void |
resumeConfigurationEvents()
Resume the configuration event notifications.
|
void |
sendServiceStateChange(DeskPhoneServiceType service,
ServiceStatus status,
com.avaya.clientservices.user.RegistrationError reason,
boolean retry)
Provides service registration status to Desk phone platform.
|
void |
sendServiceStateChange(DeskPhoneServiceType service,
ServiceStatus status,
java.lang.String reason,
boolean retry) |
void |
supportVisualAlerting4Features(boolean supportVisualAlerting4Features)
Set or unset support for visual alerting of calls received via ATS features
LED buttons
|
void |
updateCommunicationsClient(com.avaya.clientservices.client.Client client)
Update the communications client reference in case if
client is recreated at run time by the application after DeskPhoneService
is initialized.
|
void updateCommunicationsClient(com.avaya.clientservices.client.Client client)
client
- Client SDK's Client
void sendServiceStateChange(@NonNull DeskPhoneServiceType service, @NonNull ServiceStatus status, @NonNull com.avaya.clientservices.user.RegistrationError reason, boolean retry)
service
- Service = SIP, UL (For non-VoIP services using Unified Login)status
- SUCCESS / FAILreason
- Detailed reason ServiceReasonCode
retry
- If service continues to retry. true / false;void sendServiceStateChange(@NonNull DeskPhoneServiceType service, @NonNull ServiceStatus status, @NonNull java.lang.String reason, boolean retry)
void pauseConfigurationEvents() throws java.lang.IllegalStateException
java.lang.IllegalStateException
- If configuration events can not be paused in current state.void resumeConfigurationEvents() throws java.lang.IllegalStateException
java.lang.IllegalStateException
- If configuration events can not be paused in current state.void onRemoteReboot()
void onReloadConfiguration()
boolean isActiveSdkPhoneApp()
@NonNull HandsetManager getHandsetManager()
HandsetManager
instance.@NonNull com.avaya.clientservices.media.AudioInterface getAudioInterface()
AudioInterface
and handles Transducer
LED buttonsAudioInterface
instancevoid supportVisualAlerting4Features(boolean supportVisualAlerting4Features)
supportVisualAlerting4Features
- - inidcates whether isual alerting of calls received via ATS features is supported or not