- getCode() - Method in class com.twilio.sync.ErrorInfo
-
Returns unique code for given error
- getConnectionState() - Method in interface com.twilio.sync.SyncClient
-
- getData() - Method in interface com.twilio.sync.SyncDocument
-
Get value of the document as a JSON object.
- getData() - Method in interface com.twilio.sync.SyncList.Item
-
- getData() - Method in interface com.twilio.sync.SyncMap.Item
-
- getData() - Method in interface com.twilio.sync.SyncStream.Message
-
- getDateUpdated() - Method in interface com.twilio.sync.SyncDocument
-
Retrieves a Date when the Document was last updated.
- getDateUpdated() - Method in interface com.twilio.sync.SyncList
-
Retrieves a Date when the List was last updated.
- getDateUpdated() - Method in interface com.twilio.sync.SyncList.Item
-
- getDateUpdated() - Method in interface com.twilio.sync.SyncMap
-
Retrieves a Date when the Map was last updated.
- getDateUpdated() - Method in interface com.twilio.sync.SyncMap.Item
-
- getDeferCA() - Method in interface com.twilio.sync.SyncClient.Properties
-
- getHost() - Method in class com.twilio.messaging.internal.ProxyInfo
-
- getIndex() - Method in interface com.twilio.sync.SyncList.Item
-
- getInstance() - Static method in class com.twilio.messaging.internal.ProxyInfo
-
- getItem(long, SuccessListener<SyncList.Item>) - Method in interface com.twilio.sync.SyncList
-
Retrieve contents of a given Item in the SyncList.
- getItem() - Method in interface com.twilio.sync.SyncListIterator
-
- getItem(String, SuccessListener<SyncMap.Item>) - Method in interface com.twilio.sync.SyncMap
-
Retrieve Item from the SyncMap.
- getItem() - Method in interface com.twilio.sync.SyncMapIterator
-
- getItems(SuccessListener<SyncListIterator>) - Method in interface com.twilio.sync.SyncList
-
Get iterator access to all items in the list.
- getItems() - Method in interface com.twilio.sync.SyncListPaginator
-
- getItems(SuccessListener<SyncMapIterator>) - Method in interface com.twilio.sync.SyncMap
-
Get iterator access to all items in the map.
- getItems() - Method in interface com.twilio.sync.SyncMapPaginator
-
- getKey() - Method in interface com.twilio.sync.SyncMap.Item
-
- getLogger(Class<?>) - Static method in class com.twilio.messaging.internal.Logger
-
- getLogLevel() - Static method in class com.twilio.messaging.internal.Logger
-
- getMessage() - Method in class com.twilio.sync.ErrorInfo
-
Returns error message of given error
- getOpenMode() - Method in interface com.twilio.sync.SyncOptions
-
- getPageSize() - Method in interface com.twilio.sync.SyncListPaginator
-
- getPageSize() - Method in interface com.twilio.sync.SyncMapPaginator
-
- getPassword() - Method in class com.twilio.messaging.internal.ProxyInfo
-
- getPort() - Method in class com.twilio.messaging.internal.ProxyInfo
-
- getRegion() - Method in interface com.twilio.sync.SyncClient.Properties
-
Twilio server region to connect to.
- getSdkVersion() - Static method in interface com.twilio.sync.SyncClient
-
- getSid() - Method in interface com.twilio.sync.SyncDocument
-
Retrieves a machine-generated unique identifier for this SyncDocument.
- getSid() - Method in interface com.twilio.sync.SyncList
-
Retrieves a machine-generated unique identifier for this SyncList.
- getSid() - Method in interface com.twilio.sync.SyncMap
-
Retrieves a machine-generated unique identifier for this SyncMap.
- getSid() - Method in interface com.twilio.sync.SyncStream
-
An immutable system-assigned identifier of this Message SyncStream.
- getSid() - Method in interface com.twilio.sync.SyncStream.Message
-
- getSidOrUniqueName() - Method in interface com.twilio.sync.SyncOptions
-
- getStatus() - Method in class com.twilio.sync.ErrorInfo
-
Get error category as a classifier.
- getSynchronizationStrategy() - Method in interface com.twilio.sync.SyncOptions
-
- getTtl() - Method in interface com.twilio.sync.SyncOptions
-
- getUniqueName() - Method in interface com.twilio.sync.SyncDocument
-
Retrieves a user-set unique name for this SyncDocument.
- getUniqueName() - Method in interface com.twilio.sync.SyncList
-
Retrieves a user-set unique name for this SyncList.
- getUniqueName() - Method in interface com.twilio.sync.SyncMap
-
Retrieves a user-set unique name for this SyncMap.
- getUniqueName() - Method in interface com.twilio.sync.SyncStream
-
An optional unique name for this stream, assigned at creation time.
- getUser() - Method in class com.twilio.messaging.internal.ProxyInfo
-
- getValue() - Method in enum com.twilio.sync.SyncClient.ConnectionState
-
- onApplied(JSONObject) - Method in class com.twilio.sync.SyncMutator
-
Override this method to provide your own implementation of data mutator.
- onCollectionRemoved(EventContext) - Method in class com.twilio.sync.SyncListObserver
-
This callback is invoked when an entire SyncList has been removed by a local request.
- onCollectionRemoved(EventContext) - Method in class com.twilio.sync.SyncMapObserver
-
This callback is invoked when the entire SyncMap has been removed.
- onConnectionStateChanged(SyncClient.ConnectionState) - Method in interface com.twilio.sync.SyncClient.SyncClientListener
-
Called when the client connection state changes.
- onError(ErrorInfo) - Method in interface com.twilio.sync.SuccessListener
-
Callback to report error status of an asynchronous call to the back end.
- onError(ErrorInfo) - Method in interface com.twilio.sync.SyncListPaginator.Listener
-
This callback is invoked when a requestPage operation has encountered a error.
- onError(ErrorInfo) - Method in interface com.twilio.sync.SyncMapPaginator.Listener
-
This callback is invoked when a requestPage operation has encountered a error.
- onErrorOccurred(ErrorInfo) - Method in class com.twilio.sync.SyncDocumentObserver
-
This callback is invoked when a SyncDocument operation has encountered an error.
- onErrorOccurred(ErrorInfo) - Method in class com.twilio.sync.SyncListObserver
-
This callback is invoked when a SyncList operation has encountered an error.
- onErrorOccurred(ErrorInfo) - Method in class com.twilio.sync.SyncMapObserver
-
This callback is invoked when a SyncMap operation has encountered a error in local request.
- onErrorOccurred(ErrorInfo) - Method in class com.twilio.sync.SyncStreamObserver
-
This callback is invoked when a SyncStream operation has encountered a error in local request.
- onItemAdded(EventContext, SyncList.Item) - Method in class com.twilio.sync.SyncListObserver
-
This callback is invoked when SyncList item has been added by a local request.
- onItemAdded(EventContext, SyncMap.Item) - Method in class com.twilio.sync.SyncMapObserver
-
This callback is invoked when SyncMap item has been added.
- onItemRemoved(EventContext, long, JSONObject) - Method in class com.twilio.sync.SyncListObserver
-
This callback is invoked when SyncList item has been removed by a local request.
- onItemRemoved(EventContext, String, JSONObject) - Method in class com.twilio.sync.SyncMapObserver
-
This callback is invoked when SyncMap item has been removed.
- onItemUpdated(EventContext, SyncList.Item, JSONObject) - Method in class com.twilio.sync.SyncListObserver
-
This callback is invoked when SyncList item has been updated by a local request.
- onItemUpdated(EventContext, SyncMap.Item, JSONObject) - Method in class com.twilio.sync.SyncMapObserver
-
This callback is invoked when SyncMap item has been updated.
- onMessagePublished(EventContext, SyncStream.Message) - Method in class com.twilio.sync.SyncStreamObserver
-
This callback is invoked when SyncStream has successfully published a message.
- onOpened(SyncDocument) - Method in class com.twilio.sync.SyncDocumentObserver
-
This callback is invoked when SyncDocument object has been initialised and opened locally.
- onOpened(SyncList) - Method in class com.twilio.sync.SyncListObserver
-
This callback is invoked when SyncList object has been initialised and opened locally.
- onOpened(SyncMap) - Method in class com.twilio.sync.SyncMapObserver
-
This callback is invoked when SyncMap object has been initialised and opened locally.
- onOpened(SyncStream) - Method in class com.twilio.sync.SyncStreamObserver
-
This callback is invoked when SyncStream object has been initialised and opened locally.
- onPageLoaded(SyncListPaginator) - Method in interface com.twilio.sync.SyncListPaginator.Listener
-
This callback is invoked when a requestPage operation has completed successfully.
- onPageLoaded(SyncMapPaginator) - Method in interface com.twilio.sync.SyncMapPaginator.Listener
-
This callback is invoked when a requestPage operation has completed successfully.
- onRemoved(EventContext, JSONObject) - Method in class com.twilio.sync.SyncDocumentObserver
-
This callback is invoked when entire SyncDocument has been removed by a local request.
- onRemoved(EventContext) - Method in class com.twilio.sync.SyncStreamObserver
-
This callback is invoked when the SyncStream has been removed.
- onSuccess(T) - Method in interface com.twilio.sync.SuccessListener
-
Callback to report successful status of an asynchronous call to the back end.
- onTokenAboutToExpire() - Method in interface com.twilio.sync.SyncClient.SyncClientListener
-
Called when the client's token will expire soon.
- onTokenExpired() - Method in interface com.twilio.sync.SyncClient.SyncClientListener
-
Called when the client's token has expired.
- onUpdated(EventContext, JSONObject, JSONObject) - Method in class com.twilio.sync.SyncDocumentObserver
-
This callback is invoked when a SyncDocument has been modified by a local request.
- openDocument(SyncOptions, SyncDocumentObserver, SuccessListener<SyncDocument>) - Method in interface com.twilio.sync.SyncClient
-
- openList(SyncOptions, SyncListObserver, SuccessListener<SyncList>) - Method in interface com.twilio.sync.SyncClient
-
- openMap(SyncOptions, SyncMapObserver, SuccessListener<SyncMap>) - Method in interface com.twilio.sync.SyncClient
-
- openStream(SyncOptions, SyncStreamObserver, SuccessListener<SyncStream>) - Method in interface com.twilio.sync.SyncClient
-
- openWithSidOrUniqueName(String) - Method in interface com.twilio.sync.SyncOptions
-
Opens an existing object with specified SID or unique name.
- setData(JSONObject, SuccessListener<JSONObject>) - Method in interface com.twilio.sync.SyncDocument
-
Set value of the document as a JSON object.
- setData(JSONObject, SyncDocument.Metadata, SuccessListener<JSONObject>) - Method in interface com.twilio.sync.SyncDocument
-
Set value of the document as a JSON object.
- setDeferCertificateTrustToPlatform(boolean) - Method in interface com.twilio.sync.SyncClient.Properties.Builder
-
Defer certificate trust decisions to Android OS, overriding the default of
certificate pinning for Twilio back-end connections.
- setItem(long, JSONObject, SuccessListener<SyncList.Item>) - Method in interface com.twilio.sync.SyncList
-
Set contents of a given Item in the SyncList.
- setItem(long, JSONObject, SyncList.Item.Metadata, SuccessListener<SyncList.Item>) - Method in interface com.twilio.sync.SyncList
-
Set contents of a given Item in the SyncList.
- setItem(String, JSONObject, SuccessListener<SyncMap.Item>) - Method in interface com.twilio.sync.SyncMap
-
Set Item in the SyncMap.
- setItem(String, JSONObject, SyncMap.Item.Metadata, SuccessListener<SyncMap.Item>) - Method in interface com.twilio.sync.SyncMap
-
Set Item in the SyncMap.
- setItemTtl(long, int, SuccessListener<Void>) - Method in interface com.twilio.sync.SyncList
-
Set time to live for an item in list.
- setItemTtl(String, int, SuccessListener<Void>) - Method in interface com.twilio.sync.SyncMap
-
Set time to live for an item in list.
- setLevel(int) - Method in class com.twilio.messaging.internal.Logger
-
- setListener(SyncClient.SyncClientListener) - Method in interface com.twilio.sync.SyncClient
-
Set new listener on the client.
- setLogLevel(int) - Static method in class com.twilio.messaging.internal.Logger
-
- setLogLevel(int) - Static method in interface com.twilio.sync.SyncClient
-
Set verbosity level for log messages to be printed to android logcat.
- setRegion(String) - Method in interface com.twilio.sync.SyncClient.Properties.Builder
-
Select Twilio server region to connect to.
- setTtl(int, SuccessListener<Void>) - Method in interface com.twilio.sync.SyncDocument
-
Set time to live for document object in seconds.
- setTtl(int, SuccessListener<Void>) - Method in interface com.twilio.sync.SyncList
-
Set time to live for list object in seconds.
- setTtl(int, SuccessListener<Void>) - Method in interface com.twilio.sync.SyncMap
-
Set time to live for map object in seconds.
- setTtl(int, SuccessListener<Void>) - Method in interface com.twilio.sync.SyncStream
-
Set time to live for stream object in seconds.
- shutdown() - Method in interface com.twilio.sync.SyncClient
-
Cleanly shut down the SyncClient and free up associated resources.
- SILENT - Static variable in class com.twilio.messaging.internal.Logger
-
Set SDK log level to SILENT - it does not log anything, except SDK version on startup.
- SILENT - Static variable in class com.twilio.sync.SyncClient.LogLevel
-
Show no log messages.
- SuccessListener<T> - Interface in com.twilio.sync
-
Interface for a generic listener object.
- SyncClient - Interface in com.twilio.sync
-
This is a central entity used to work with Sync.
- SyncClient.ConnectionState - Enum in com.twilio.sync
-
Enum representing underlying twilsock connection state.
- SyncClient.LogLevel - Class in com.twilio.sync
-
- SyncClient.Properties - Interface in com.twilio.sync
-
Specify properties for creating new Sync Client.
- SyncClient.Properties.Builder - Interface in com.twilio.sync
-
Builder class for client properties.
- SyncClient.SyncClientListener - Interface in com.twilio.sync
-
This interface defines SyncClient callback methods.
- SyncDocument - Interface in com.twilio.sync
-
SyncDocument is an arbitrary JSON value.
- SyncDocument.Metadata - Interface in com.twilio.sync
-
- SyncDocumentObserver - Class in com.twilio.sync
-
Observer for all operations on a SyncDocument.
- SyncDocumentObserver() - Constructor for class com.twilio.sync.SyncDocumentObserver
-
Keep default constructor, you don't need to override it.
- SyncList - Interface in com.twilio.sync
-
SyncList is an ordered sequence of arbitrary JSON objects as values.
- SyncList.Item - Interface in com.twilio.sync
-
Single item in a SyncList.
- SyncList.Item.Metadata - Interface in com.twilio.sync
-
Metadata about the item.
- SyncList.QueryOptions - Interface in com.twilio.sync
-
Options passed while querying SyncList objects within Sync specifying
query parameters and result set position and sorting.
- SyncList.QueryOrder - Enum in com.twilio.sync
-
Defines collection query direction (forward or backwards item listing).
- SyncListIterator - Interface in com.twilio.sync
-
- SyncListObserver - Class in com.twilio.sync
-
Observer for all operations on a SyncList.
- SyncListObserver() - Constructor for class com.twilio.sync.SyncListObserver
-
Keep default constructor, you don't need to override it.
- SyncListPaginator - Interface in com.twilio.sync
-
- SyncListPaginator.Listener - Interface in com.twilio.sync
-
- SyncMap - Interface in com.twilio.sync
-
SyncMap is a key-value store with Strings as keys and arbitrary JSON objects as values.
- SyncMap.Item - Interface in com.twilio.sync
-
Single item in a SyncMap.
- SyncMap.Item.Metadata - Interface in com.twilio.sync
-
- SyncMap.QueryOptions - Interface in com.twilio.sync
-
Options passed while querying SyncMap objects within Sync specifying
query parameters and result set position and sorting.
- SyncMap.QueryOrder - Enum in com.twilio.sync
-
Defines collection query direction (forward or backwards item listing)
- SyncMapIterator - Interface in com.twilio.sync
-
- SyncMapObserver - Class in com.twilio.sync
-
Observer for all operations on a SyncMap.
- SyncMapObserver() - Constructor for class com.twilio.sync.SyncMapObserver
-
Keep default constructor, you don't need to override it.
- SyncMapPaginator - Interface in com.twilio.sync
-
- SyncMapPaginator.Listener - Interface in com.twilio.sync
-
- SyncMutator - Class in com.twilio.sync
-
Mutator is a functional object that you provide to modify entity data in a controlled manner.
- SyncMutator() - Constructor for class com.twilio.sync.SyncMutator
-
Sole constructor.
- SyncOptions - Interface in com.twilio.sync
-
SyncOptions are used to pass variable information to SyncDocument, SyncMap, SyncList and SyncStream opening functions.
- SyncOptions.OpenMode - Enum in com.twilio.sync
-
- SyncOptions.SynchronizationStrategy - Enum in com.twilio.sync
-
- SyncStream - Interface in com.twilio.sync
-
SyncStream is an ordered message delivery queue.
- SyncStream.Message - Interface in com.twilio.sync
-
Single message in a SyncStream.
- SyncStreamObserver - Class in com.twilio.sync
-
Observer for all operations on a SyncStream.
- SyncStreamObserver() - Constructor for class com.twilio.sync.SyncStreamObserver
-
Keep default constructor, you don't need to override it.
- v(String, Throwable) - Method in class com.twilio.messaging.internal.Logger
-
- v(String) - Method in class com.twilio.messaging.internal.Logger
-
- valueOf(String) - Static method in enum com.twilio.sync.SyncClient.ConnectionState
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.twilio.sync.SyncList.QueryOrder
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.twilio.sync.SyncMap.QueryOrder
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.twilio.sync.SyncOptions.OpenMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.twilio.sync.SyncOptions.SynchronizationStrategy
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.twilio.sync.SyncClient.ConnectionState
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.twilio.sync.SyncList.QueryOrder
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.twilio.sync.SyncMap.QueryOrder
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.twilio.sync.SyncOptions.OpenMode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.twilio.sync.SyncOptions.SynchronizationStrategy
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- VERBOSE - Static variable in class com.twilio.sync.SyncClient.LogLevel
-
Show low-level tracing messages as well as all Debug log messages.