public class

SipSharedPreferences

extends Object
java.lang.Object
   ↳ com.android.phone.sip.SipSharedPreferences

Class Overview

Wrapper for SIP's shared preferences.

Summary

Public Constructors
SipSharedPreferences(Context context)
Public Methods
String getPrimaryAccount()
Returns the primary account URI or null if it does not exist.
int getProfilesCount()
String getSipCallOption()
boolean hasPrimaryAccount()
boolean isPrimaryAccount(String accountUri)
boolean isReceivingCallsEnabled()
void setPrimaryAccount(String accountUri)
void setProfilesCount(int number)
void setReceivingCallsEnabled(boolean enabled)
void setSipCallOption(String option)
void unsetPrimaryAccount()
[Expand]
Inherited Methods
From class java.lang.Object

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 ()