Your replacement communications application has to implement a few interfaces from Desk Phone Services APIs in order to properly listen and report the status of events to/from the Vantage platform.
You need to define the following intents in your AndroidManifest.xml file: * CONFIG_CHANGED * LOGIN_SIGNAL * RESTART * LOGOUT_SIGNAL (only when supporting IP Office)
You need to implement the following methods from the interface:
* initialize()
* onConfigurationChange()
* onLogin()
* onHook()
* offHook()
* onInitialised()
You can learn more about the intents and the listener interfaces in: Basic Integration of Desk Phone Services into an Application
--- title: Android Desk Phone Services Package version: 4.31.0.0 - Aug 2023 copyright: Copyright © 2013-2023 by Avaya, All Rights Reserved. publisher: devconnectprogram.com publisherAddress: Avaya comments: '' tableOfContents: true tocAccordion: 2 rightPanel: false publicOnly: false leftPanel: true tableOfContentHeader: true showPageTitle: true gridLayout: toc: 2 codePanelPercent: 50 headerHeight: 0 footerHeight: 0 documentSearch: true languageTabs: - java: Java laTexMath: false codeHighlight: true codeHighlightTheme: agate tocSelectors: h2,h3,h4 tocFooters: [] versionLinks: - title: Current link: "/site/global/products_resources/avaya_client_sdk/programming_docs/current/introduction/index.gsp" newTab: false siteLinks: - title: Avaya Home link: "/" newTab: false documentCollectionOptions: tabs: false baseUrl: '' documentCollection: [] source_file: "/home/build/.jenkins/workspace/avaya-slate/source/site/global/products_resources/avaya_client_sdk/programming_docs/current/android/desk_phone/tech/platform_events_reporting.md" sourcePath: "/home/build/.jenkins/workspace/avaya-slate/source/site/global/products_resources/avaya_client_sdk/programming_docs/current/android/desk_phone/tech" sourceFileName: platform_events_reporting sourceType: ".md" url: site/global/products_resources/avaya_client_sdk/programming_docs/current/android/desk_phone/tech/platform_events_reporting.gsp urlPath: site/global/products_resources/avaya_client_sdk/programming_docs/current/android/desk_phone/tech urlFileName: platform_events_reporting urlExtension: ".gsp" titlePage: true gvars: - productFolder: client_sdk - releaseFolder: current BackToPackageOverview: "< Back to Package Overview" BpImages: "/static/images/avaya_client_sdk/programming_docs/current/" DwlAndroidSdk: "Android SDK" DwlIosSdk: "iOS SDK" DwlWindowsSdk: "Windows SDK" DwlMacosSdk: "macOS SDK" DwlJavaScriptSdk: "JavaScript SDK" DwlReleaseNotes: "Avaya Client SDK Release Notes" Clientservices_Call_Call: "Call" Clientservices_Call_CallCreationInfo: "CallCreationInfo" Clientservices_Call_CallService: "CallService" Clientservices_Voicemessaging_VoiceMessagingService: "VoiceMessagingService" Clientservices_Media_AudioInterface: "AudioInterface" Clientservices_Media_AudioDeviceListener: "AudioDeviceListener" Clientservices_Client_Client: "Client" Clientservices_Client_Client_LogListener: "LogListener" Clientservices_User_User: "User" Clientservices_Settingsfile_SettingsFileParser: "SettingsFileParser" Deskphoneservices_DeskPhoneEventListener: "DeskPhoneEventListener" Deskphoneservices_DeskPhoneService: "DeskPhoneService" Deskphoneservices_DeskPhoneServiceLibrary: "DeskPhoneServiceLibrary" Deskphoneservices_DeskPhoneServiceLibrary_setLogListener: "DeskPhoneServiceLibrary#setLogListener()" Deskphoneservices_HandsetType: "HandsetType" Deskphoneservices_Device_AudioDeviceHandler: "AudioDeviceHandler" Deskphoneservices_Device_DefaultVantageAudioDeviceHandler: "DefaultVantageAudioDeviceHandler" Deskphoneservices_Device_AudioDeviceChangeListener: "AudioDeviceChangeListener" Deskphoneservices_FeatureControl: "FeatureControl"