-
- All Implemented Interfaces:
-
apptentive.com.android.feedback.ApptentiveClient
public final class ApptentiveDefaultClient implements ApptentiveClient
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classApptentiveDefaultClient.Companion
-
Constructor Summary
Constructors Constructor Description ApptentiveDefaultClient(ApptentiveConfiguration configuration, HttpClient httpClient, Executors executors)
-
Method Summary
-
-
Constructor Detail
-
ApptentiveDefaultClient
ApptentiveDefaultClient(ApptentiveConfiguration configuration, HttpClient httpClient, Executors executors)
-
-
Method Detail
-
login
@RequiresApi(value = 23) Unit login(String jwtToken, Function1<LoginResult, Unit> callback)
-
setAuthenticationFailedListener
Unit setAuthenticationFailedListener(AuthenticationFailedListener listener)
-
updateToken
Unit updateToken(String jwtToken, Function1<LoginResult, Unit> callback)
-
canShowInteraction
Boolean canShowInteraction(Event event)
-
updatePerson
Unit updatePerson(String name, String email, Pair<String, Object> customData, String deleteKey)
-
updateMParticleID
Unit updateMParticleID(String id)
-
getPersonName
String getPersonName()
-
getPersonEmail
String getPersonEmail()
-
showMessageCenter
EngagementResult showMessageCenter(Map<String, Object> customData)
-
getUnreadMessageCount
Integer getUnreadMessageCount()
-
canShowMessageCenter
Boolean canShowMessageCenter()
-
sendHiddenTextMessage
Unit sendHiddenTextMessage(String message)
-
sendHiddenAttachmentFileUri
Unit sendHiddenAttachmentFileUri(String uri)
-
sendHiddenAttachmentFileBytes
Unit sendHiddenAttachmentFileBytes(ByteArray bytes, String mimeType)
-
sendHiddenAttachmentFileStream
Unit sendHiddenAttachmentFileStream(InputStream inputStream, String mimeType)
-
setPushIntegration
Unit setPushIntegration(Integer pushProvider, String token)
-
setLocalManifest
Unit setLocalManifest(String json)
-
getOldEncryptionSetting
final EncryptionStatus getOldEncryptionSetting()
-
-
-
-