Build 1.0_r1(from source)

android.provider
Class Im.ProviderSettings.QueryMap

java.lang.Object
  extended by java.util.Observable
      extended by android.content.ContentQueryMap
          extended by android.provider.Im.ProviderSettings.QueryMap
Enclosing class:
Im.ProviderSettings

public static class Im.ProviderSettings.QueryMap
extends ContentQueryMap


Constructor Summary
Im.ProviderSettings.QueryMap(ContentResolver contentResolver, long providerId, boolean keepUpdated, Handler handlerForUpdateNotifications)
           
 
Method Summary
 boolean getAutomaticallyConnectToGTalkServer()
          Check if the GTalk service should automatically connect to server.
 boolean getEnableNotification()
          Check if the IM notification is enabled.
 boolean getHideOfflineContacts()
          Check if the offline contacts should be hided.
 String getRingtoneURI()
          Get the Uri String of the current ringtone.
 boolean getShowMobileIndicator()
          Gets whether or not to show mobile indicator.
 boolean getVibrate()
          Gets whether or not to vibrate on IM notification.
 void setAutomaticallyConnectToGTalkServer(boolean autoConnect)
          Set if the GTalk service should automatically connect to server.
 void setEnableNotification(boolean enable)
          Set whether or not enable the IM notification.
 void setHideOfflineContacts(boolean hideOfflineContacts)
          Set whether or not the offline contacts should be hided.
 void setRingtoneURI(String ringtoneUri)
          Set the Uri for the ringtone.
 void setShowMobileIndicator(boolean showMobile)
          Set whether or not to show mobile indicator to friends.
 void setVibrate(boolean vibrate)
          Set whether or not to vibrate on IM notification.
 
Methods inherited from class android.content.ContentQueryMap
close, finalize, getRows, getValues, requery, setKeepUpdated
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Im.ProviderSettings.QueryMap

public Im.ProviderSettings.QueryMap(ContentResolver contentResolver,
                                    long providerId,
                                    boolean keepUpdated,
                                    Handler handlerForUpdateNotifications)
Method Detail

setAutomaticallyConnectToGTalkServer

public void setAutomaticallyConnectToGTalkServer(boolean autoConnect)
Set if the GTalk service should automatically connect to server.

Parameters:
autoConnect - if the GTalk service should auto connect to server.

getAutomaticallyConnectToGTalkServer

public boolean getAutomaticallyConnectToGTalkServer()
Check if the GTalk service should automatically connect to server.

Returns:
if the GTalk service should automatically connect to server.

setHideOfflineContacts

public void setHideOfflineContacts(boolean hideOfflineContacts)
Set whether or not the offline contacts should be hided.

Parameters:
hideOfflineContacts - Whether or not the offline contacts should be hided.

getHideOfflineContacts

public boolean getHideOfflineContacts()
Check if the offline contacts should be hided.

Returns:
Whether or not the offline contacts should be hided.

setEnableNotification

public void setEnableNotification(boolean enable)
Set whether or not enable the IM notification.

Parameters:
enable - Whether or not enable the IM notification.

getEnableNotification

public boolean getEnableNotification()
Check if the IM notification is enabled.

Returns:
Whether or not enable the IM notification.

setVibrate

public void setVibrate(boolean vibrate)
Set whether or not to vibrate on IM notification.

Parameters:
vibrate - Whether or not to vibrate.

getVibrate

public boolean getVibrate()
Gets whether or not to vibrate on IM notification.

Returns:
Whether or not to vibrate.

setRingtoneURI

public void setRingtoneURI(String ringtoneUri)
Set the Uri for the ringtone.

Parameters:
ringtoneUri - The Uri of the ringtone to be set.

getRingtoneURI

public String getRingtoneURI()
Get the Uri String of the current ringtone.

Returns:
The Uri String of the current ringtone.

setShowMobileIndicator

public void setShowMobileIndicator(boolean showMobile)
Set whether or not to show mobile indicator to friends.

Parameters:
showMobile - whether or not to show mobile indicator.

getShowMobileIndicator

public boolean getShowMobileIndicator()
Gets whether or not to show mobile indicator.

Returns:
Whether or not to show mobile indicator.

Build 1.0_r1(from source)

Please submit a feedback, bug or feature