java.lang.Object |
↳ |
com.android.phone.sip.SipSharedPreferences |
Class Overview
Wrapper for SIP's shared preferences.
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Public Constructors
public
SipSharedPreferences
(Context context)
Public Methods
public
String
getPrimaryAccount
()
Returns the primary account URI or null if it does not exist.
public
int
getProfilesCount
()
public
String
getSipCallOption
()
public
boolean
hasPrimaryAccount
()
public
boolean
isPrimaryAccount
(String accountUri)
public
boolean
isReceivingCallsEnabled
()
public
void
setPrimaryAccount
(String accountUri)
public
void
setProfilesCount
(int number)
public
void
setReceivingCallsEnabled
(boolean enabled)
public
void
setSipCallOption
(String option)
public
void
unsetPrimaryAccount
()