Telephony.ServiceStateTable
public
static
final
class
Telephony.ServiceStateTable
extends Object
| java.lang.Object | |
| ↳ | android.provider.Telephony.ServiceStateTable |
Constants for interfacing with the ServiceStateProvider and the different fields of the
ServiceState class accessible through the provider.
Summary
Constants | |
|---|---|
String |
AUTHORITY
The authority string for the ServiceStateProvider |
String |
IS_MANUAL_NETWORK_SELECTION
The current network selection mode. |
String |
VOICE_OPERATOR_NUMERIC
The current registered operator numeric id. |
String |
VOICE_REG_STATE
An integer value indicating the current voice service state. |
Fields | |
|---|---|
public
static
final
Uri |
CONTENT_URI
The |
Public methods | |
|---|---|
static
Uri
|
getUriForSubscriptionId(int subscriptionId)
Generates a content |
static
Uri
|
getUriForSubscriptionIdAndField(int subscriptionId, String field)
Generates a content |
Inherited methods | |
|---|---|
java.lang.Object
| |
Constants
AUTHORITY
String AUTHORITY
The authority string for the ServiceStateProvider
Constant Value: "service-state"
IS_MANUAL_NETWORK_SELECTION
String IS_MANUAL_NETWORK_SELECTION
The current network selection mode.
This is the same as getIsManualSelection().
Constant Value: "is_manual_network_selection"
VOICE_OPERATOR_NUMERIC
String VOICE_OPERATOR_NUMERIC
The current registered operator numeric id.
In GSM/UMTS, numeric format is 3 digit country code plus 2 or 3 digit network code.
This is the same as getOperatorNumeric().
Constant Value: "voice_operator_numeric"
VOICE_REG_STATE
String VOICE_REG_STATE
An integer value indicating the current voice service state.
Valid values: STATE_IN_SERVICE,
STATE_OUT_OF_SERVICE, STATE_EMERGENCY_ONLY,
STATE_POWER_OFF.
This is the same as getState().
Constant Value: "voice_reg_state"
Fields
CONTENT_URI
Uri CONTENT_URI
The content:// style URL for the ServiceStateProvider
Public methods
getUriForSubscriptionId
Uri getUriForSubscriptionId (int subscriptionId)
Generates a content Uri used to receive updates on every field in the
ServiceState provider.
Use this Uri with a ContentObserver to be notified of changes to the
ServiceState while your app is running. You can also use a JobService to
ensure your app is notified of changes to the Uri even when it is not running.
Note, however, that using a JobService does not guarantee timely delivery of
updates to the Uri.
| Parameters | |
|---|---|
subscriptionId |
int: the subscriptionId to receive updates on |
| Returns | |
|---|---|
Uri |
the Uri used to observe ServiceState changes
|
getUriForSubscriptionIdAndField
Uri getUriForSubscriptionIdAndField (int subscriptionId, String field)
Generates a content Uri used to receive updates on a specific field in the
ServiceState provider.
Use this Uri with a ContentObserver to be notified of changes to the
ServiceState while your app is running. You can also use a JobService to
ensure your app is notified of changes to the Uri even when it is not running.
Note, however, that using a JobService does not guarantee timely delivery of
updates to the Uri.
| Parameters | |
|---|---|
subscriptionId |
int: the subscriptionId to receive updates on |
field |
String: the ServiceState field to receive updates on |
| Returns | |
|---|---|
Uri |
the Uri used to observe ServiceState changes
|
Interfaces
- BaseColumns
- CalendarContract.AttendeesColumns
- CalendarContract.CalendarAlertsColumns
- CalendarContract.CalendarCacheColumns
- CalendarContract.CalendarColumns
- CalendarContract.CalendarSyncColumns
- CalendarContract.ColorsColumns
- CalendarContract.EventDaysColumns
- CalendarContract.EventsColumns
- CalendarContract.ExtendedPropertiesColumns
- CalendarContract.RemindersColumns
- CalendarContract.SyncColumns
- Contacts.ContactMethodsColumns
- Contacts.ExtensionsColumns
- Contacts.GroupsColumns
- Contacts.OrganizationColumns
- Contacts.PeopleColumns
- Contacts.PhonesColumns
- Contacts.PhotosColumns
- Contacts.PresenceColumns
- Contacts.SettingsColumns
- ContactsContract.BaseSyncColumns
- ContactsContract.CommonDataKinds.BaseTypes
- ContactsContract.CommonDataKinds.CommonColumns
- ContactsContract.ContactNameColumns
- ContactsContract.ContactOptionsColumns
- ContactsContract.ContactsColumns
- ContactsContract.ContactStatusColumns
- ContactsContract.DataColumns
- ContactsContract.DataColumnsWithJoins
- ContactsContract.DataUsageStatColumns
- ContactsContract.DeletedContactsColumns
- ContactsContract.DisplayNameSources
- ContactsContract.FullNameStyle
- ContactsContract.GroupsColumns
- ContactsContract.PhoneLookupColumns
- ContactsContract.PhoneticNameStyle
- ContactsContract.PresenceColumns
- ContactsContract.RawContactsColumns
- ContactsContract.SettingsColumns
- ContactsContract.StatusColumns
- ContactsContract.SyncColumns
- MediaStore.Audio.AlbumColumns
- MediaStore.Audio.ArtistColumns
- MediaStore.Audio.AudioColumns
- MediaStore.Audio.GenresColumns
- MediaStore.Audio.PlaylistsColumns
- MediaStore.Files.FileColumns
- MediaStore.Images.ImageColumns
- MediaStore.MediaColumns
- MediaStore.Video.VideoColumns
- OpenableColumns
- SyncStateContract.Columns
- Telephony.BaseMmsColumns
- Telephony.CanonicalAddressesColumns
- Telephony.TextBasedSmsColumns
- Telephony.ThreadsColumns
Classes
- AlarmClock
- BlockedNumberContract
- BlockedNumberContract.BlockedNumbers
- Browser
- CalendarContract
- CalendarContract.Attendees
- CalendarContract.CalendarAlerts
- CalendarContract.CalendarCache
- CalendarContract.CalendarEntity
- CalendarContract.Calendars
- CalendarContract.Colors
- CalendarContract.EventDays
- CalendarContract.Events
- CalendarContract.EventsEntity
- CalendarContract.ExtendedProperties
- CalendarContract.Instances
- CalendarContract.Reminders
- CalendarContract.SyncState
- CallLog
- CallLog.Calls
- Contacts
- Contacts.ContactMethods
- Contacts.Extensions
- Contacts.GroupMembership
- Contacts.Groups
- Contacts.Intents
- Contacts.Intents.Insert
- Contacts.Intents.UI
- Contacts.Organizations
- Contacts.People
- Contacts.People.ContactMethods
- Contacts.People.Extensions
- Contacts.People.Phones
- Contacts.Phones
- Contacts.Photos
- Contacts.Settings
- ContactsContract
- ContactsContract.AggregationExceptions
- ContactsContract.CommonDataKinds
- ContactsContract.CommonDataKinds.Callable
- ContactsContract.CommonDataKinds.Contactables
- ContactsContract.CommonDataKinds.Email
- ContactsContract.CommonDataKinds.Event
- ContactsContract.CommonDataKinds.GroupMembership
- ContactsContract.CommonDataKinds.Identity
- ContactsContract.CommonDataKinds.Im
- ContactsContract.CommonDataKinds.Nickname
- ContactsContract.CommonDataKinds.Note
- ContactsContract.CommonDataKinds.Organization
- ContactsContract.CommonDataKinds.Phone
- ContactsContract.CommonDataKinds.Photo
- ContactsContract.CommonDataKinds.Relation
- ContactsContract.CommonDataKinds.SipAddress
- ContactsContract.CommonDataKinds.StructuredName
- ContactsContract.CommonDataKinds.StructuredPostal
- ContactsContract.CommonDataKinds.Website
- ContactsContract.Contacts
- ContactsContract.Contacts.AggregationSuggestions
- ContactsContract.Contacts.AggregationSuggestions.Builder
- ContactsContract.Contacts.Data
- ContactsContract.Contacts.Entity
- ContactsContract.Contacts.Photo
- ContactsContract.Data
- ContactsContract.DataUsageFeedback
- ContactsContract.DeletedContacts
- ContactsContract.Directory
- ContactsContract.DisplayPhoto
- ContactsContract.Groups
- ContactsContract.Intents
- ContactsContract.Intents.Insert
- ContactsContract.PhoneLookup
- ContactsContract.PinnedPositions
- ContactsContract.Presence
- ContactsContract.Profile
- ContactsContract.ProfileSyncState
- ContactsContract.ProviderStatus
- ContactsContract.QuickContact
- ContactsContract.RawContacts
- ContactsContract.RawContacts.Data
- ContactsContract.RawContacts.DisplayPhoto
- ContactsContract.RawContacts.Entity
- ContactsContract.RawContactsEntity
- ContactsContract.SearchSnippets
- ContactsContract.Settings
- ContactsContract.StatusUpdates
- ContactsContract.SyncState
- DocumentsContract
- DocumentsContract.Document
- DocumentsContract.Path
- DocumentsContract.Root
- DocumentsProvider
- FontRequest
- FontsContract
- FontsContract.Columns
- FontsContract.FontFamilyResult
- FontsContract.FontInfo
- FontsContract.FontRequestCallback
- LiveFolders
- MediaStore
- MediaStore.Audio
- MediaStore.Audio.Albums
- MediaStore.Audio.Artists
- MediaStore.Audio.Artists.Albums
- MediaStore.Audio.Genres
- MediaStore.Audio.Genres.Members
- MediaStore.Audio.Media
- MediaStore.Audio.Playlists
- MediaStore.Audio.Playlists.Members
- MediaStore.Audio.Radio
- MediaStore.Files
- MediaStore.Images
- MediaStore.Images.Media
- MediaStore.Images.Thumbnails
- MediaStore.Video
- MediaStore.Video.Media
- MediaStore.Video.Thumbnails
- SearchRecentSuggestions
- Settings
- Settings.Global
- Settings.NameValueTable
- Settings.Secure
- Settings.System
- SyncStateContract
- SyncStateContract.Constants
- SyncStateContract.Helpers
- Telephony
- Telephony.Carriers
- Telephony.Mms
- Telephony.Mms.Addr
- Telephony.Mms.Draft
- Telephony.Mms.Inbox
- Telephony.Mms.Intents
- Telephony.Mms.Outbox
- Telephony.Mms.Part
- Telephony.Mms.Rate
- Telephony.Mms.Sent
- Telephony.MmsSms
- Telephony.MmsSms.PendingMessages
- Telephony.ServiceStateTable
- Telephony.Sms
- Telephony.Sms.Conversations
- Telephony.Sms.Draft
- Telephony.Sms.Inbox
- Telephony.Sms.Intents
- Telephony.Sms.Outbox
- Telephony.Sms.Sent
- Telephony.Threads
- UserDictionary
- UserDictionary.Words
- VoicemailContract
- VoicemailContract.Status
- VoicemailContract.Voicemails
Exceptions


