Package zendesk.android
Object Zendesk.Companion
-
- All Implemented Interfaces:
public class Zendesk.Companion
-
-
Field Summary
Fields Modifier and Type Field Description private ZendeskAuthenticationDelegateauthenticationDelegateprivate final Zendeskinstancepublic final static Zendesk.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final ZendeskAuthenticationDelegategetAuthenticationDelegate()A delegate that gets notified about failed requests due to invalid credentials. final UnitsetAuthenticationDelegate(ZendeskAuthenticationDelegate value)A delegate that gets notified about failed requests due to invalid credentials. final ZendeskgetInstance()Retrieves the current instance of Zendesk. -
-
Method Detail
-
getAuthenticationDelegate
final ZendeskAuthenticationDelegate getAuthenticationDelegate()
A delegate that gets notified about failed requests due to invalid credentials.
-
setAuthenticationDelegate
final Unit setAuthenticationDelegate(ZendeskAuthenticationDelegate value)
A delegate that gets notified about failed requests due to invalid credentials.
-
getInstance
final Zendesk getInstance()
Retrieves the current instance of Zendesk.
If Zendesk.initialize was not called or haven't completed yet, this method will return a stubbed version of Zendesk that will only output logs when any of its methods are called.
- Returns:
the instance of Zendesk if Zendesk.initialize completed successfully, a stub otherwise
-
-
-
-