Skip navigation links
A B C D E F G H I L M N O P R S T U V W 

A

AbstractNotificationReceiver - Class in io.smooch.core
Abstract class that can be registered to receive Message notifications from FCM.
AbstractNotificationReceiver() - Constructor for class io.smooch.core.AbstractNotificationReceiver
 
ActionState - Enum in io.smooch.core
 
addMessage(Message) - Method in interface io.smooch.core.Conversation
Adds a new message to the conversation without sending it.
addMessageAction(MessageAction) - Method in class io.smooch.core.Message
Adds a message action to the list of actions
addMessageAction(MessageAction) - Method in class io.smooch.core.MessageItem
Adds a message action to the list of actions
addMessageItem(MessageItem) - Method in class io.smooch.core.Message
Adds a message item to the list of items
addProperties(Map<String, Object>) - Method in class io.smooch.core.User
Adds custom properties to the user.
AuthenticationCallback - Interface in io.smooch.core
 
AuthenticationDelegate - Interface in io.smooch.core
 
AuthenticationError - Class in io.smooch.core
 
AuthenticationError(int, String) - Constructor for class io.smooch.core.AuthenticationError
 

B

beforeDisplay(ConversationDetails, Message) - Method in interface io.smooch.core.MessageModifierDelegate
Allows a delegate to modify the contents of a message before it's displayed in the conversation view.
beforeNotification(String, Message) - Method in interface io.smooch.core.MessageModifierDelegate
Allows a delegate to modify the contents of a message before it's displayed in a notification.
beforeSend(ConversationDetails, Message) - Method in interface io.smooch.core.MessageModifierDelegate
Allows a delegate to modify the contents of a message before sending to Smooch servers.
build() - Method in class io.smooch.core.SmoochCallback.Response.Builder
Builds the SmoochCallback.Response with the provided information
Builder(int) - Constructor for class io.smooch.core.SmoochCallback.Response.Builder
Constructs an instance of this SmoochCallback.Response.Builder
builder() - Static method in class io.smooch.ui.ConversationActivity
Returns a new builder for configuring and displaying ConversationActivity.

C

CardSummary - Class in io.smooch.core
 
close() - Static method in class io.smooch.ui.ConversationActivity
Closes the conversation view.
compareTo(Message) - Method in class io.smooch.core.Message
 
Config - Class in io.smooch.core
 
ConnectionStatus - Enum in io.smooch.ui
User internet connection status.
Conversation - Interface in io.smooch.core
The Conversation provides an interface to interact with a user's conversation.
ConversationActivity - Class in io.smooch.ui
 
ConversationActivity() - Constructor for class io.smooch.ui.ConversationActivity
 
ConversationActivityBuilder - Class in io.smooch.ui
This builder is used to configure the ConversationActivity
ConversationDelegate - Interface in io.smooch.core
Delegate for events related to the conversation.
ConversationDetails - Interface in io.smooch.core
Provides an interface to view the information of a Conversation.
ConversationEvent - Class in io.smooch.core
Object representing a conversation event.
ConversationEventType - Enum in io.smooch.core
 
ConversationViewDelegate - Interface in io.smooch.core
Delegate for events related to the conversation view.
Coordinates - Class in io.smooch.core
 
Coordinates(Double, Double) - Constructor for class io.smooch.core.Coordinates
Create coordinates with the given latitude/longitude.
copy() - Method in class io.smooch.core.Message
 
CreditCard - Class in io.smooch.core
Object representing a user's credit card
CreditCard(String, int, int, String) - Constructor for class io.smooch.core.CreditCard
Create a credit card with the given details.

D

d(String, String, Object...) - Static method in class io.smooch.core.Logger
Logs an Log.DEBUG level log message
d(String, String, Throwable, Object...) - Static method in class io.smooch.core.Logger
Logs a Log.DEBUG level log message
destroy() - Static method in class io.smooch.core.Smooch
Terminate the Smooch facilities.
DisplaySettings - Class in io.smooch.core
 

E

e(String, String, Object...) - Static method in class io.smooch.core.Logger
Logs an Log.ERROR level log message
e(String, String, Throwable, Object...) - Static method in class io.smooch.core.Logger
Logs a Log.ERROR level log message
equals(Object) - Method in class io.smooch.core.Message
 
equals(Object) - Method in class io.smooch.core.MessageAction
 
equals(Object) - Method in class io.smooch.core.MessageItem
 
equals(Object) - Method in class io.smooch.core.Participant
 

F

FcmService - Class in io.smooch.core
Firebase Cloud Messaging Service
FcmService() - Constructor for class io.smooch.core.FcmService
 
findByValue(String) - Static method in enum io.smooch.core.ConversationEventType
Utility method to find the enum value of the provided string.

G

getAmount() - Method in class io.smooch.core.MessageAction
The price of the action
getAppMakerLastRead() - Method in interface io.smooch.core.ConversationDetails
Returns the date when the business last read the user's messages.
getAppUserId() - Method in class io.smooch.core.ConversationEvent
getAppUserId() - Method in class io.smooch.core.Participant
The assigned appUserId for the user that this participant is associated with.
getAppUserId() - Method in class io.smooch.core.User
The assigned appUserId for this user.
getAuthCode() - Method in class io.smooch.core.Settings
The auth code being used to authenticate as an existing user.
getAuthenticationDelegate() - Method in class io.smooch.core.Settings
A delegate to be notified about a failed request due to invalid credentials.
getAuthorId() - Method in class io.smooch.core.Message
The id for the author.
getAuthorRole() - Method in class io.smooch.core.Message
The Role for the author.
getAvatarUrl() - Method in class io.smooch.core.ConversationEvent
Returns the avatar URL of the participant related to this event if this event type is ConversationEventType.CONVERSATION_READ, ConversationEventType.TYPING_START or ConversationEventType.TYPING_STOP.
getAvatarUrl() - Method in class io.smooch.core.Message
The url for the author's avatar image.
getBrand() - Method in class io.smooch.core.CardSummary
The brand of the card
getCardNumber() - Method in class io.smooch.core.CreditCard
 
getConfig() - Static method in class io.smooch.core.Smooch
Accessor method for the currently connected app configuration.
getConversation() - Static method in class io.smooch.core.Smooch
Accessor method for the current conversation.
getConversationById(String, SmoochCallback<Conversation>) - Static method in class io.smooch.core.Smooch
Get a Conversation by its ID.
getConversationDelegate() - Static method in class io.smooch.core.Smooch
getConversationDelegates() - Static method in class io.smooch.core.Smooch
Gets the collection of ConversationDelegate that have been set on the SDK as a SortedMap where the integrator defined delegate will appear before the delegate used to notify the Smooch UI
getConversationId() - Method in class io.smooch.core.ConversationEvent
Returns the ID of the parent conversation of this event.
getConversationsList(SmoochCallback<List<Conversation>>) - Static method in class io.smooch.core.Smooch
Get the list of the 10 most recently active Conversations for the current user, sorted from most recently updated to last.
getConversationUiDelegate() - Static method in class io.smooch.core.Smooch
getConversationViewDelegate() - Static method in class io.smooch.core.Smooch
getCoordinates() - Method in class io.smooch.core.Message
Returns Coordinates
getCurrency() - Method in class io.smooch.core.MessageAction
The type of currency
getCurrentUser() - Static method in class io.smooch.core.User
Returns the object representing the current user.
getData() - Method in class io.smooch.core.AuthenticationError
 
getData() - Method in class io.smooch.core.SmoochCallback.Response
Returns the resulting data from the action being performed.
getDate() - Method in class io.smooch.core.Message
The date and time the message was sent.
getDescription() - Method in class io.smooch.core.MessageItem
The description of the item
getDisplayName() - Method in interface io.smooch.core.ConversationDetails
Returns the display name of this conversation.
getDisplaySettings() - Method in class io.smooch.core.Message
Returns DisplaySettings for carousel messages
getEmail() - Method in class io.smooch.core.User
String representing the user's email
getEntity() - Method in class io.smooch.core.Message
 
getError() - Method in class io.smooch.core.SmoochCallback.Response
Returns the error message from the action if there was a problem.
getExpMonth() - Method in class io.smooch.core.CreditCard
 
getExpYear() - Method in class io.smooch.core.CreditCard
 
getFallback() - Method in class io.smooch.core.MessageAction
Fallback URI for action types not supported by the SDK
getFile() - Method in class io.smooch.core.Message
The file of the message.
getFileProviderAuthorities() - Method in class io.smooch.core.Settings
A String that signifies which authority Smooch will use to provide files to the CAMERA application.
getFirebaseCloudMessagingProjectId() - Static method in class io.smooch.core.Smooch
Accessor method to get the Firebase Cloud Messaging project id that was linked to the application via the Web portal.
getFirstName() - Method in class io.smooch.core.User
String representing the user's first name
getIconUrl() - Method in class io.smooch.core.MessageAction
The icon URL of the action
getId() - Method in interface io.smooch.core.ConversationDetails
Returns the ID of this conversation.
getId() - Method in class io.smooch.core.Message
The ID of the message.
getId() - Method in class io.smooch.core.Participant
The unique ID of this participant.
getImage() - Method in class io.smooch.core.Message
The image of the message.
getImageAspectRatio() - Method in class io.smooch.core.DisplaySettings
The image aspect ratio
getInitializationStatus() - Static method in class io.smooch.core.Smooch
Accessor method for the current Initialization status.
getIntegrationId() - Method in class io.smooch.core.Settings
The integration id corresponding to your SDK integration.
getLast4() - Method in class io.smooch.core.CardSummary
The last 4 digits of the card
getLastLoginResult() - Static method in class io.smooch.core.Smooch
Accessor for last known LoginResult or null if the user is anonymous or Smooch.init(Application, Settings, SmoochCallback) hasn't been called
getLastName() - Method in class io.smooch.core.User
String representing the user's last name
getLastRead() - Method in interface io.smooch.core.ConversationDetails
Returns the date when any other participant of the conversation last read the user's messages.
getLastRead() - Method in class io.smooch.core.ConversationEvent
Returns the date of the last read message if this event type is ConversationEventType.CONVERSATION_READ.
getLastRead() - Method in class io.smooch.core.Participant
Returns the date when this participant last read messages of the conversation.
getLastUpdatedAt() - Method in interface io.smooch.core.ConversationDetails
Returns the date when this conversation was last updated.
getLat() - Method in class io.smooch.core.Coordinates
The latitude
getLong() - Method in class io.smooch.core.Coordinates
The longitude
getMapsApiKey() - Method in class io.smooch.core.Settings
Google Maps API key to use to display a location preview for Location messages.
getMediaSize() - Method in class io.smooch.core.Message
The media size of the message.
getMediaType() - Method in class io.smooch.core.Message
The media type of the message.
getMediaType() - Method in class io.smooch.core.MessageItem
The media type of the item
getMediaUrl() - Method in class io.smooch.core.Message
The media URL of the message.
getMediaUrl() - Method in class io.smooch.core.MessageItem
The media url of the item
getMessageActions() - Method in class io.smooch.core.Message
The list of Message Action objects contained in the message.
getMessageActions() - Method in class io.smooch.core.MessageItem
The list of Message Action objects contained in the message item.
getMessageItems() - Method in class io.smooch.core.Message
The list of Message Item objects contained in the message.
getMessageModifierDelegate() - Static method in class io.smooch.core.Smooch
getMessages() - Method in interface io.smooch.core.ConversationDetails
Returns the list of messages of this conversation.
getMetadata() - Method in interface io.smooch.core.ConversationDetails
Data representing an optional flat object containing additional properties associated with the conversation.
getMetadata() - Method in class io.smooch.core.Message
The metadata of the message
getMetadata() - Method in class io.smooch.core.MessageAction
The action metadata
getMetadata() - Method in class io.smooch.core.MessageItem
The metadata of the item
getName() - Method in class io.smooch.core.ConversationEvent
Returns the name of the participant related to this event if this event type is ConversationEventType.CONVERSATION_READ, ConversationEventType.TYPING_START or ConversationEventType.TYPING_STOP.
getName() - Method in class io.smooch.core.Message
The name of the author.
getParticipants() - Method in interface io.smooch.core.ConversationDetails
Returns the list of participants of this conversation.
getPayload() - Method in class io.smooch.core.Message
The message payload from an action
getPayload() - Method in class io.smooch.core.MessageAction
The action payload
getProperties() - Method in class io.smooch.core.User
Map representing the user's custom properties
getRegion() - Method in class io.smooch.core.Settings
A String that determines which region to connect to.
getRole() - Method in class io.smooch.core.ConversationEvent
Returns the role of the participant related to this event (typically "appUser" or "appMaker") if this event type is ConversationEventType.CONVERSATION_READ, ConversationEventType.TYPING_START or ConversationEventType.TYPING_STOP.
getSecurityCode() - Method in class io.smooch.core.CreditCard
 
getServiceBaseUrl() - Method in class io.smooch.core.Settings
 
getSettings() - Static method in class io.smooch.core.Smooch
Accessor method for the SDK settings.
getSignedUpAt() - Method in class io.smooch.core.User
Date representing the date the user signed up
getSize() - Method in class io.smooch.core.MessageAction
The size of a webview
getSize() - Method in class io.smooch.core.MessageItem
The size of the item
getSmoochConnectionStatus() - Static method in class io.smooch.core.Smooch
Accessor method for the current SmoochConnectionStatus, or null if Smooch.init(Application, Settings, SmoochCallback) hasn't been called yet.
getState() - Method in class io.smooch.core.MessageAction
The state of the action
getStatus() - Method in class io.smooch.core.AuthenticationError
 
getStatus() - Method in class io.smooch.core.SmoochCallback.Response
Returns the status code of the action.
getText() - Method in class io.smooch.core.Message
The text content of the message.
getText() - Method in class io.smooch.core.MessageAction
The text of the action
getTextFallback() - Method in class io.smooch.core.Message
Text to display for unsupported message types
getTitle() - Method in class io.smooch.core.MessageItem
The title of the item
getType() - Method in class io.smooch.core.ConversationEvent
The type of event that is being triggered.
getType() - Method in class io.smooch.core.Integration
The integration type
getType() - Method in class io.smooch.core.Message
The message type
getType() - Method in class io.smooch.core.MessageAction
The type of action
getUnreadCount() - Method in interface io.smooch.core.ConversationDetails
Count of unread messages in the conversation.
getUnreadCount() - Method in class io.smooch.core.Participant
Returns the unread count for this participant.
getUploadStatus() - Method in class io.smooch.core.Message
The upload status of the message.
getUri() - Method in class io.smooch.core.MessageAction
The URI of the action
getUserId() - Method in class io.smooch.core.User
String representing the user's userId.
getValue() - Method in enum io.smooch.core.ActionState
 
getValue() - Method in enum io.smooch.core.ConversationEventType
 
getValue() - Method in enum io.smooch.core.MessageType
 

H

hashCode() - Method in class io.smooch.core.Message
 
hashCode() - Method in class io.smooch.core.Participant
 
hasLocationRequest() - Method in class io.smooch.core.Message
Returns true if the message has a location request
hasPaymentInfo() - Method in class io.smooch.core.User
Boolean describing whether or not the user has payment information stored
hasReplies() - Method in class io.smooch.core.Message
Returns true if the message has reply actions
hasValidCoordinates() - Method in class io.smooch.core.Message
Returns true if the message has valid coordinates

I

i(String, String, Object...) - Static method in class io.smooch.core.Logger
Logs an Log.INFO level log message
i(String, String, Throwable, Object...) - Static method in class io.smooch.core.Logger
Logs a Log.INFO level log message
init(Application) - Static method in class io.smooch.core.Smooch
Initializes Smooch without settings.
init(Application, Settings, SmoochCallback<InitializationStatus>) - Static method in class io.smooch.core.Smooch
Initialize the Smooch SDK with the provided settings.
InitializationStatus - Enum in io.smooch.core
Initialization response status.
Integration - Class in io.smooch.core
 
INTEGRATOR_DELEGATE - Static variable in interface io.smooch.core.ConversationDelegate
 
intent(Context) - Method in class io.smooch.ui.ConversationActivityBuilder
Creates an Intent for the ConversationActivity with the specified configuration
io.smooch.core - package io.smooch.core
 
io.smooch.ui - package io.smooch.ui
 
isCarousel() - Method in class io.smooch.core.Message
 
isDefault() - Method in class io.smooch.core.MessageAction
Flag indicating if the message action should be the default for a given MessageItem
isEnabled() - Static method in class io.smooch.core.Logger
Returns the enabled state of the Logger.
isFirebaseCloudMessagingAutoRegistrationEnabled() - Method in class io.smooch.core.Settings
A boolean property that indicates whether Smooch should manage the Firebase Cloud Messaging registration.
isFromCurrentUser() - Method in class io.smooch.core.Message
Returns true if the message originated from the user, or false if the message comes from another participant.
isRead() - Method in class io.smooch.core.Message
Return true if the message has been read
isRunning(String) - Static method in class io.smooch.ui.NotificationActivity
 
isSmoochShown() - Method in interface io.smooch.core.Conversation
Returns true if the Smooch UI is currently shown
isStripeEnabled() - Method in class io.smooch.core.Config
Flag determining whether stripe is enabled for the app

L

loadCardSummary() - Method in interface io.smooch.core.Conversation
Loads billing info (if exists) to display last4 in credit form.
loadConversation(String, SmoochCallback<Conversation>) - Static method in class io.smooch.core.Smooch
Loads a conversation by its ID and sets it as the active conversation for the current session.
Logger - Class in io.smooch.core
Logger class that can be enabled/disable to assist with debugging SDK integrations without always printing information to the app output log.
login(String, String, SmoochCallback<LoginResult>) - Static method in class io.smooch.core.Smooch
Logs in a new Smooch user.
LoginResult - Enum in io.smooch.core
Login response status
logout(SmoochCallback<LogoutResult>) - Static method in class io.smooch.core.Smooch
Logs out the current user.
LogoutResult - Enum in io.smooch.core
Logout response status

M

markAllAsRead() - Method in interface io.smooch.core.Conversation
Marks all unread messages as read.
Message - Class in io.smooch.core
Object representing a received or sent message
Message(String, String, Map<String, Object>) - Constructor for class io.smooch.core.Message
Create a message with the given text, payload, and metadata.
Message(Coordinates, Map<String, Object>) - Constructor for class io.smooch.core.Message
Create a message with the given coordinates.
MessageAction - Class in io.smooch.core
 
MessageAction() - Constructor for class io.smooch.core.MessageAction
Creates an empty message action.
MessageItem - Class in io.smooch.core
 
MessageItem() - Constructor for class io.smooch.core.MessageItem
Creates an empty message item.
MessageModifierDelegate - Interface in io.smooch.core
Delegate for events related to sending and displaying of specific messages.
MessageType - Enum in io.smooch.core
The Message type
MessageUploadStatus - Enum in io.smooch.core
Upload status of a Message.

N

NotificationActivity - Class in io.smooch.ui
 
NotificationActivity() - Constructor for class io.smooch.ui.NotificationActivity
 
NotificationController - Class in io.smooch.ui
 
NotificationController() - Constructor for class io.smooch.ui.NotificationController
 
Notifier - Class in io.smooch.core
Static utility class to broadcast notifications to the notification receiver.
notify(Context, String, MessageDto) - Static method in class io.smooch.core.Notifier
 

O

onBackPressed() - Method in class io.smooch.ui.ConversationActivity
 
onCardSummaryLoaded(CardSummary) - Method in interface io.smooch.core.ConversationDelegate
Notifies the delegate when a saved stripe card is loaded.
onCardSummaryLoaded(CardSummary) - Method in class io.smooch.ui.ConversationActivity
 
onConversationEventReceived(ConversationEvent) - Method in interface io.smooch.core.ConversationDelegate
Notifies the delegate of a new activity.
onConversationEventReceived(ConversationEvent) - Method in class io.smooch.ui.ConversationActivity
 
onConversationsListUpdated(List<Conversation>) - Method in interface io.smooch.core.ConversationDelegate
Notifies the delegate when the conversations list was updated
onConversationsListUpdated(List<Conversation>) - Method in class io.smooch.ui.ConversationActivity
 
onCreate(Bundle) - Method in class io.smooch.ui.ConversationActivity
 
onCreate(Bundle) - Method in class io.smooch.ui.NotificationActivity
 
onCreateOptionsMenu(Menu) - Method in class io.smooch.ui.ConversationActivity
 
onDestroy() - Method in class io.smooch.ui.ConversationActivity
 
onDestroy() - Method in class io.smooch.ui.NotificationActivity
 
onInitializationStatusChanged(InitializationStatus) - Method in interface io.smooch.core.ConversationDelegate
Notifies the delegate of a change in Initialization status.
onInitializationStatusChanged(InitializationStatus) - Method in class io.smooch.ui.ConversationActivity
 
onInvalidAuth(AuthenticationError, AuthenticationCallback) - Method in interface io.smooch.core.AuthenticationDelegate
Notifies the delegate of a failed request due to invalid credentials
onLoginComplete(LoginResult) - Method in interface io.smooch.core.ConversationDelegate
Notifies the delegate when a call to Smooch.login(String, String, SmoochCallback) is complete
onLoginComplete(LoginResult) - Method in class io.smooch.ui.ConversationActivity
 
onLogoutComplete(LogoutResult) - Method in interface io.smooch.core.ConversationDelegate
Notifies the delegate when a call to Smooch.logout(SmoochCallback) is complete
onLogoutComplete(LogoutResult) - Method in class io.smooch.ui.ConversationActivity
 
onMessageReceived(RemoteMessage) - Method in class io.smooch.core.FcmService
 
onMessageSent(Message, MessageUploadStatus) - Method in interface io.smooch.core.ConversationDelegate
Notifies the delegate of a message being sent.
onMessageSent(Message, MessageUploadStatus) - Method in class io.smooch.ui.ConversationActivity
 
onMessagesReceived(Conversation, List<Message>) - Method in interface io.smooch.core.ConversationDelegate
Notifies the delegate of new incoming messages.
onMessagesReceived(Conversation, List<Message>) - Method in class io.smooch.ui.ConversationActivity
 
onMessagesReset(Conversation, List<Message>) - Method in interface io.smooch.core.ConversationDelegate
Notifies the delegate the messages in a conversation have been reset.
onMessagesReset(Conversation, List<Message>) - Method in class io.smooch.ui.ConversationActivity
 
onNewToken(String) - Method in class io.smooch.core.FcmService
 
onNotification(Context, String, Message) - Method in class io.smooch.core.AbstractNotificationReceiver
Method called when a new message is received.
onOptionsItemSelected(MenuItem) - Method in class io.smooch.ui.ConversationActivity
 
onPause() - Method in class io.smooch.ui.ConversationActivity
 
onPaymentProcessed(MessageAction, PaymentStatus) - Method in interface io.smooch.core.ConversationDelegate
Notifies the delegate when payment is processed.
onPaymentProcessed(MessageAction, PaymentStatus) - Method in class io.smooch.ui.ConversationActivity
 
onPurchaseComplete() - Method in class io.smooch.ui.ConversationActivity
 
onReceive(Context, Intent) - Method in class io.smooch.core.AbstractNotificationReceiver
 
onRequestPermissionsCalled(String[]) - Method in interface io.smooch.core.ConversationViewDelegate
Notifies the delegate that permissions for this app have been requested
onResume() - Method in class io.smooch.ui.ConversationActivity
 
onShadedAreaClick() - Method in class io.smooch.ui.ConversationActivity
 
onSmoochConnectionStatusChanged(SmoochConnectionStatus) - Method in interface io.smooch.core.ConversationDelegate
Notifies the delegate when the user's connection to Smooch has changed.
onSmoochConnectionStatusChanged(SmoochConnectionStatus) - Method in class io.smooch.ui.ConversationActivity
 
onSmoochHidden() - Method in interface io.smooch.core.ConversationDelegate
Notifies the delegate when the Smooch Conversation is hidden.
onSmoochHidden() - Method in class io.smooch.ui.ConversationActivity
 
onSmoochShown() - Method in interface io.smooch.core.ConversationDelegate
Notifies the delegate when the Smooch Conversation is shown.
onSmoochShown() - Method in class io.smooch.ui.ConversationActivity
 
onStart() - Method in class io.smooch.ui.ConversationActivity
 
onStartActivityCalled(Intent) - Method in interface io.smooch.core.ConversationViewDelegate
Notifies the delegate that a call to start an activity has been made
onStop() - Method in class io.smooch.ui.ConversationActivity
 
onStripeFragmentClose() - Method in class io.smooch.ui.ConversationActivity
 
onStripeFragmentShown() - Method in class io.smooch.ui.ConversationActivity
 
onUnreadCountChanged(Conversation, int) - Method in interface io.smooch.core.ConversationDelegate
Notifies the delegate of a change in unread message count.
onUnreadCountChanged(Conversation, int) - Method in class io.smooch.ui.ConversationActivity
 
onWebviewHidden() - Method in class io.smooch.ui.ConversationActivity
 
onWebviewShown() - Method in class io.smooch.ui.ConversationActivity
 

P

Participant - Class in io.smooch.core
Object representing the participant of a Conversation.
PaymentStatus - Enum in io.smooch.core
Stripe payment status.
postback(MessageAction, SmoochCallback<Void>) - Method in interface io.smooch.core.Conversation
Triggers MessageAction postback.
processPayment(CreditCard, MessageAction) - Method in interface io.smooch.core.Conversation
Processes a credit card payment.

R

removeMessage(Message) - Method in interface io.smooch.core.Conversation
Removes a failed or unsent message from the conversation.
removeMessageAction(MessageAction) - Method in class io.smooch.core.Message
Removes a message action from the list of actions
removeMessageAction(MessageAction) - Method in class io.smooch.core.MessageItem
Removes a message action from the list of actions
removeMessageItem(MessageItem) - Method in class io.smooch.core.Message
Removes a message item from the list of items
retryMessage(Message) - Method in interface io.smooch.core.Conversation
Retries a message that failed to send.
run(SmoochCallback.Response<T>) - Method in interface io.smooch.core.SmoochCallback
Invoke the SmoochCallback with the results of the action
run(SmoochCallback.Response<T>) - Method in class io.smooch.core.StubbedCallback
 

S

SDK_UI_DELEGATE - Static variable in interface io.smooch.core.ConversationDelegate
 
sendMessage(Message) - Method in interface io.smooch.core.Conversation
Adds a new message to the conversation.
setAmount(long) - Method in class io.smooch.core.MessageAction
Sets the price of the action
setAuthenticationDelegate(AuthenticationDelegate) - Method in class io.smooch.core.Settings
A delegate to be notified about a failed request due to invalid credentials.
setAvatarUrl(String) - Method in class io.smooch.core.Message
Sets the url for the author's avatar image.
setCardNumber(String) - Method in class io.smooch.core.CreditCard
 
setConversationDelegate(ConversationDelegate) - Static method in class io.smooch.core.Smooch
setConversationUiDelegate(ConversationDelegate) - Static method in class io.smooch.core.Smooch
Sets the ConversationDelegate used by the smooch-ui package
setConversationViewDelegate(ConversationViewDelegate) - Static method in class io.smooch.core.Smooch
setCoordinates(Coordinates) - Method in class io.smooch.core.Message
Sets the coordinates for the message
setCurrency(String) - Method in class io.smooch.core.MessageAction
Sets the type of currency
setDefault(boolean) - Method in class io.smooch.core.MessageAction
Sets the default flag
setDescription(String) - Method in class io.smooch.core.MessageItem
Sets the description of the item
setDisplaySettings(DisplaySettings) - Method in class io.smooch.core.Message
Sets the display settings for the message
setEmail(String) - Method in class io.smooch.core.User
The user's email, to be used to display a gravatar.
setEnabled(boolean) - Static method in class io.smooch.core.Logger
Sets the enabled/disabled state of the Logger
setExpMonth(int) - Method in class io.smooch.core.CreditCard
 
setExpYear(int) - Method in class io.smooch.core.CreditCard
 
setFallback(String) - Method in class io.smooch.core.MessageAction
Sets the fallback URI for action types not supported by the SDK
setFile(File) - Method in class io.smooch.core.Message
Sets the file for the message.
setFileProviderAuthorities(String) - Method in class io.smooch.core.Settings
A String that signifies which authority Smooch will use to provide files to the CAMERA application.
setFirebaseCloudMessagingAutoRegistrationEnabled(boolean) - Method in class io.smooch.core.Settings
A boolean property that indicates whether Smooch should manage the Firebase Cloud Messaging registration.
setFirebaseCloudMessagingToken(String) - Static method in class io.smooch.core.Smooch
Method used to register the Firebase Cloud Messaging token to Smooch
setFirebaseCloudMessagingToken(String, SmoochCallback<LoginResult>) - Static method in class io.smooch.core.Smooch
Method used to register the Firebase Cloud Messaging token to Smooch
setFirstName(String) - Method in class io.smooch.core.User
The user's first name, to be used as part of the display name when sending messages.
setIconUrl(String) - Method in class io.smooch.core.MessageAction
Sets the icon URL of the action
setImage(Bitmap) - Method in class io.smooch.core.Message
Sets the image for the message.
setLastName(String) - Method in class io.smooch.core.User
The user's last name, to be used as part of the display name when sending messages.
setMapsApiKey(String) - Method in class io.smooch.core.Settings
Google Maps API key to use to display a location preview for Location messages.
setMediaSize(long) - Method in class io.smooch.core.Message
Sets the media size for the message
setMediaType(String) - Method in class io.smooch.core.Message
Sets the media type for the message
setMediaType(String) - Method in class io.smooch.core.MessageItem
Sets the media type of the item
setMediaUrl(String) - Method in class io.smooch.core.Message
Sets the media URL for the message
setMediaUrl(String) - Method in class io.smooch.core.MessageItem
Sets the media url of the item
setMessageModifierDelegate(MessageModifierDelegate) - Static method in class io.smooch.core.Smooch
setMetadata(Map<String, Object>) - Method in class io.smooch.core.Message
Sets the metadata for the message
setMetadata(Map<String, Object>) - Method in class io.smooch.core.MessageAction
Sets the action metadata
setMetadata(Map<String, Object>) - Method in class io.smooch.core.MessageItem
Sets the metadata of the item
setName(String) - Method in class io.smooch.core.Message
Sets the author's name for the message.
setPayload(String) - Method in class io.smooch.core.Message
Sets the payload for the message
setPayload(String) - Method in class io.smooch.core.MessageAction
Sets the action payload
setRegion(String) - Method in class io.smooch.core.Settings
A String that determines which region to connect to.
setSecurityCode(String) - Method in class io.smooch.core.CreditCard
 
setServiceBaseUrl(String) - Method in class io.smooch.core.Settings
 
setSignedUpAt(Date) - Method in class io.smooch.core.User
The date the user started using your service
setSize(String) - Method in class io.smooch.core.MessageAction
Sets the size for a webview
setSize(String) - Method in class io.smooch.core.MessageItem
Sets the size of the item
setText(String) - Method in class io.smooch.core.Message
Sets the text for the message.
setText(String) - Method in class io.smooch.core.MessageAction
Sets the text of the action
setTextFallback(String) - Method in class io.smooch.core.Message
Sets the text to display for unsupported message types
Settings - Class in io.smooch.core
The settings used to initialise the SDK.
Settings(String) - Constructor for class io.smooch.core.Settings
Initializes a Settings with the given app id and integration id.
Settings(String, String) - Constructor for class io.smooch.core.Settings
Initializes a Settings instance with the given app id, integration id and auth code
setTitle(String) - Method in class io.smooch.core.MessageItem
Sets the title of the item
setType(String) - Method in class io.smooch.core.Message
Sets the type of the message
setType(String) - Method in class io.smooch.core.MessageAction
Sets the type of action
setUploadStatus(MessageUploadStatus) - Method in class io.smooch.core.Message
 
setUri(String) - Method in class io.smooch.core.MessageAction
Sets the URI of the action
shouldTriggerAction(MessageAction) - Method in interface io.smooch.core.ConversationDelegate
Allows a delegate to override default action behavior.
shouldTriggerAction(MessageAction) - Method in class io.smooch.ui.ConversationActivity
 
show(Context) - Method in class io.smooch.ui.ConversationActivityBuilder
Starts the ConversationActivity with the specified configuration
Smooch - Class in io.smooch.core
Smooch Entry Point
SmoochCallback<T> - Interface in io.smooch.core
Callback used to be notified of the result of an asynchronous action
SmoochCallback.Response<T> - Class in io.smooch.core
The response body passed into a SmoochCallback to pass along information about the result of the action being performed
SmoochCallback.Response.Builder<T> - Class in io.smooch.core
Builder for creating instances of SmoochCallback.Response with a status code and any additional information required for the callback being notified.
SmoochConnectionStatus - Enum in io.smooch.core
Smooch connection status.
smoochHidden() - Method in interface io.smooch.core.Conversation
Notifies the delegate when Smooch Conversation is hidden
smoochShown() - Method in interface io.smooch.core.Conversation
Notifies the delegate when Smooch Conversation is shown
startConversation(SmoochCallback<Void>) - Static method in class io.smooch.core.Smooch
Force-start a conversation for the current user.
startTyping() - Method in interface io.smooch.core.Conversation
Notify the server that the user is typing.
stopTyping() - Method in interface io.smooch.core.Conversation
Notify the server that the user has finished typing.
StubbedCallback<T> - Class in io.smooch.core
Stubbed implementation of SmoochCallback that does nothing when invoked
StubbedCallback() - Constructor for class io.smooch.core.StubbedCallback
 

T

triggerAction(MessageAction) - Method in interface io.smooch.core.Conversation
Triggers message action resulting from a click.
triggerNotification(Context, String, Message) - Static method in class io.smooch.ui.NotificationController
Triggers a Smooch notification, which will open intent from resource Smooch_settings_notificationIntent on tap.
triggerSmoochNotification(Map<String, String>, Context) - Static method in class io.smooch.core.FcmService
Helper function that handles a push notification received from Smooch.

U

updateToken(String) - Method in interface io.smooch.core.AuthenticationCallback
Updates the JWT used to authenticate the user
uploadFile(Message, SmoochCallback<Message>) - Method in interface io.smooch.core.Conversation
Uploads a user file to the conversation.
uploadImage(Message, SmoochCallback<Message>) - Method in interface io.smooch.core.Conversation
Uploads a user image to the conversation.
User - Class in io.smooch.core
Object representing the current user.
User() - Constructor for class io.smooch.core.User
 

V

v(String, String, Object...) - Static method in class io.smooch.core.Logger
Logs a Log.VERBOSE log message
v(String, String, Throwable, Object...) - Static method in class io.smooch.core.Logger
Logs a Log.VERBOSE level log message
valueOf(String) - Static method in enum io.smooch.core.ActionState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.smooch.core.ConversationEventType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.smooch.core.InitializationStatus
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.smooch.core.LoginResult
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.smooch.core.LogoutResult
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.smooch.core.MessageType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.smooch.core.MessageUploadStatus
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.smooch.core.PaymentStatus
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.smooch.core.SmoochConnectionStatus
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.smooch.ui.ConnectionStatus
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.smooch.core.ActionState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.smooch.core.ConversationEventType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.smooch.core.InitializationStatus
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.smooch.core.LoginResult
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.smooch.core.LogoutResult
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.smooch.core.MessageType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.smooch.core.MessageUploadStatus
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.smooch.core.PaymentStatus
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.smooch.core.SmoochConnectionStatus
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.smooch.ui.ConnectionStatus
Returns an array containing the constants of this enum type, in the order they are declared.

W

w(String, String, Object...) - Static method in class io.smooch.core.Logger
Logs an Log.WARN level log message
w(String, String, Throwable, Object...) - Static method in class io.smooch.core.Logger
Logs a Log.WARN level log message
withData(T) - Method in class io.smooch.core.SmoochCallback.Response.Builder
Adds data to the response builder
withError(String) - Method in class io.smooch.core.SmoochCallback.Response.Builder
Adds an error message to the response builder
withFlags(int) - Method in class io.smooch.ui.ConversationActivityBuilder
Specifies the intent flags for the conversation activity
withStartingText(String) - Method in class io.smooch.ui.ConversationActivityBuilder
Specifies the starting text used to pre-fill the conversation activity text box
A B C D E F G H I L M N O P R S T U V W 
Skip navigation links