- onApplied(JSONObject) - Method in class com.twilio.sync.Mutator
-
Override this method to provide your own implementation of data mutator.
- onCollectionRemoved(EventContext) - Method in class com.twilio.sync.ListObserver
-
This callback is invoked when an entire List has been removed by a local request.
- onCollectionRemoved(EventContext) - Method in class com.twilio.sync.MapObserver
-
This callback is invoked when the entire Map has been removed.
- onConnectionStateChanged(SyncClient.ConnectionState) - Method in interface com.twilio.sync.SyncClient.ConnectionStateListener
-
- onError(ErrorInfo) - Method in interface com.twilio.sync.ListPaginator.Listener
-
- onError(ErrorInfo) - Method in interface com.twilio.sync.MapPaginator.Listener
-
- onError(ErrorInfo) - Method in class com.twilio.sync.SuccessListener
-
Callback to report error status of an asynchronous call to the back end.
- onErrorOccurred(ErrorInfo) - Method in class com.twilio.sync.DocumentObserver
-
This callback is invoked when a Document operation has encountered an error.
- onErrorOccurred(ErrorInfo) - Method in class com.twilio.sync.ListObserver
-
This callback is invoked when a List operation has encountered an error.
- onErrorOccurred(ErrorInfo) - Method in class com.twilio.sync.MapObserver
-
This callback is invoked when a Map operation has encountered a error in local request.
- onErrorOccurred(ErrorInfo) - Method in class com.twilio.sync.StreamObserver
-
This callback is invoked when a Stream operation has encountered a error in local request.
- onItemAdded(EventContext, List.Item) - Method in class com.twilio.sync.ListObserver
-
This callback is invoked when List item has been added by a local request.
- onItemAdded(EventContext, Map.Item) - Method in class com.twilio.sync.MapObserver
-
This callback is invoked when Map item has been added.
- onItemRemoved(EventContext, long, JSONObject) - Method in class com.twilio.sync.ListObserver
-
This callback is invoked when List item has been removed by a local request.
- onItemRemoved(EventContext, String, JSONObject) - Method in class com.twilio.sync.MapObserver
-
This callback is invoked when Map item has been removed.
- onItemUpdated(EventContext, List.Item, JSONObject) - Method in class com.twilio.sync.ListObserver
-
This callback is invoked when List item has been updated by a local request.
- onItemUpdated(EventContext, Map.Item, JSONObject) - Method in class com.twilio.sync.MapObserver
-
This callback is invoked when Map item has been updated.
- onMessagePublished(EventContext, Stream.Message) - Method in class com.twilio.sync.StreamObserver
-
This callback is invoked when Stream has successfully published a message.
- onOpened(Document) - Method in class com.twilio.sync.DocumentObserver
-
This callback is invoked when Document object has been initialised and opened locally.
- onOpened(List) - Method in class com.twilio.sync.ListObserver
-
This callback is invoked when List object has been initialised and opened locally.
- onOpened(Map) - Method in class com.twilio.sync.MapObserver
-
This callback is invoked when Map object has been initialised and opened locally.
- onOpened(Stream) - Method in class com.twilio.sync.StreamObserver
-
This callback is invoked when Stream object has been initialised and opened locally.
- onPageLoaded(ListPaginator) - Method in interface com.twilio.sync.ListPaginator.Listener
-
- onPageLoaded(MapPaginator) - Method in interface com.twilio.sync.MapPaginator.Listener
-
- onRemoved(EventContext) - Method in class com.twilio.sync.DocumentObserver
-
This callback is invoked when entire Document has been removed by a local request.
- onRemoved(EventContext) - Method in class com.twilio.sync.StreamObserver
-
This callback is invoked when the Stream has been removed.
- onSuccess(T) - Method in class com.twilio.sync.SuccessListener
-
Callback to report successful status of an asynchronous call to the back end.
- onUpdated(EventContext, JSONObject, JSONObject) - Method in class com.twilio.sync.DocumentObserver
-
This callback is invoked when a Document has been modified by a local request.
- openDocument(Options, DocumentObserver, SuccessListener<Document>) - Method in class com.twilio.sync.SyncClient
-
- openList(Options, ListObserver, SuccessListener<List>) - Method in class com.twilio.sync.SyncClient
-
Open or create a
List
object.
- openMap(Options, MapObserver, SuccessListener<Map>) - Method in class com.twilio.sync.SyncClient
-
Open or create a
Map
object.
- openStream(Options, StreamObserver, SuccessListener<Stream>) - Method in class com.twilio.sync.SyncClient
-
Open or create a
Stream
object.
- openWithSidOrUniqueName(String) - Method in class com.twilio.sync.Options
-
Opens an existing object with specified SID or unique name.
- Options - Class in com.twilio.sync
-
Options are used to pass variable information to Document, Map, List and Stream opening functions.
- Options() - Constructor for class com.twilio.sync.Options
-
- Options.OpenMode - Enum in com.twilio.sync
-
- Options.SynchronizationStrategy - Enum in com.twilio.sync
-
- setConnectionStateListener(SyncClient.ConnectionStateListener) - Method in class com.twilio.sync.SyncClient
-
Set new connection state listener on the client.
- setData(JSONObject, SuccessListener<JSONObject>) - Method in class com.twilio.sync.Document
-
Set value of the document as a JSON object.
- setData(JSONObject, Document.Metadata, SuccessListener<JSONObject>) - Method in class com.twilio.sync.Document
-
Set value of the document as a JSON object.
- setItem(long, JSONObject, SuccessListener<List.Item>) - Method in class com.twilio.sync.List
-
Set contents of a given Item in the List.
- setItem(long, JSONObject, List.Item.Metadata, SuccessListener<List.Item>) - Method in class com.twilio.sync.List
-
Set contents of a given Item in the List.
- setItem(String, JSONObject, SuccessListener<Map.Item>) - Method in class com.twilio.sync.Map
-
Set Item in the Map.
- setItem(String, JSONObject, Map.Item.Metadata, SuccessListener<Map.Item>) - Method in class com.twilio.sync.Map
-
Set Item in the Map.
- setItemTtl(long, int, SuccessListener<Void>) - Method in class com.twilio.sync.List
-
- setItemTtl(String, int, SuccessListener<Void>) - Method in class com.twilio.sync.Map
-
Update the map item’s time to live.
- setLogLevel(int) - Static method in class com.twilio.sync.SyncClient
-
- setRegion(String) - Method in class com.twilio.sync.SyncClient.Properties.Builder
-
- setTtl(int, SuccessListener<Void>) - Method in class com.twilio.sync.Document
-
Update the document’s time to live.
- setTtl(int, SuccessListener<Void>) - Method in class com.twilio.sync.List
-
- setTtl(int, SuccessListener<Void>) - Method in class com.twilio.sync.Map
-
Update the map’s time to live.
- setTtl(int, SuccessListener<Void>) - Method in class com.twilio.sync.Stream
-
Update the stream’s time to live.
- shutdown() - Method in class com.twilio.sync.SyncClient
-
Cleanly shut down the SyncClient and free up associated resources.
- Stream - Class in com.twilio.sync
-
Stream is an ordered message delivery queue.
- Stream.Message - Class in com.twilio.sync
-
Single message in a Stream.
- StreamObserver - Class in com.twilio.sync
-
Observer for all operations on a Stream.
- StreamObserver() - Constructor for class com.twilio.sync.StreamObserver
-
Keep default constructor, you don't need to override it.
- SuccessListener<T> - Class in com.twilio.sync
-
Interface for a generic listener object.
- SuccessListener() - Constructor for class com.twilio.sync.SuccessListener
-
- SyncClient - Class 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.ConnectionStateListener - Interface in com.twilio.sync
-
Listener interface to receive connection state change events.
- SyncClient.Properties - Class in com.twilio.sync
-
Specify properties for creating new Sync Client.
- SyncClient.Properties.Builder - Class in com.twilio.sync
-
Helper class to build client properties.
- valueOf(String) - Static method in enum com.twilio.sync.List.PageSort
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.twilio.sync.List.QueryOrder
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.twilio.sync.Map.PageSort
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.twilio.sync.Map.QueryOrder
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.twilio.sync.Options.OpenMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.twilio.sync.Options.SynchronizationStrategy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.twilio.sync.SyncClient.ConnectionState
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.twilio.sync.List.PageSort
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.twilio.sync.List.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.Map.PageSort
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.twilio.sync.Map.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.Options.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.Options.SynchronizationStrategy
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- 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.