android.provider
Class Sync.Settings.QueryMap
java.lang.Object
java.util.Observable
android.content.ContentQueryMap
android.provider.Sync.Settings.QueryMap
- Enclosing class:
- Sync.Settings
public static class Sync.Settings.QueryMap
- extends ContentQueryMap
Sync.Settings.QueryMap
public Sync.Settings.QueryMap(ContentResolver contentResolver,
boolean keepUpdated,
Handler handlerForUpdateNotifications)
getSyncProviderAutomatically
public boolean getSyncProviderAutomatically(String providerName)
- Check if the provider should be synced when a network tickle is received
- Parameters:
providerName - the provider whose setting we are querying
- Returns:
- true of the provider should be synced when a network tickle is received
setSyncProviderAutomatically
public void setSyncProviderAutomatically(String providerName,
boolean sync)
- Set whether or not the provider is synced when it receives a network tickle.
- Parameters:
providerName - the provider whose behavior is being controlledsync - true if the provider should be synced when tickles are received for it
setListenForNetworkTickles
public void setListenForNetworkTickles(boolean flag)
- Set whether or not the tickle xmpp connection should be established.
- Parameters:
flag - true if the tickle xmpp connection should be established
getListenForNetworkTickles
public boolean getListenForNetworkTickles()
- Check if the tickle xmpp connection should be established
- Returns:
- true if it should be stablished
Please submit a feedback, bug or feature