/* * Copyright (C) 2016 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ package com.googlecode.android_scripting.facade.telephony; public class TelephonyConstants { /** * Constant for WiFi Calling WFC mode * **/ public static final String WFC_MODE_WIFI_ONLY = "WIFI_ONLY"; public static final String WFC_MODE_CELLULAR_PREFERRED = "CELLULAR_PREFERRED"; public static final String WFC_MODE_WIFI_PREFERRED = "WIFI_PREFERRED"; public static final String WFC_MODE_DISABLED = "DISABLED"; public static final String WFC_MODE_UNKNOWN = "UNKNOWN"; /** * Constant for Video Telephony VT state * **/ public static final String VT_STATE_AUDIO_ONLY = "AUDIO_ONLY"; public static final String VT_STATE_TX_ENABLED = "TX_ENABLED"; public static final String VT_STATE_RX_ENABLED = "RX_ENABLED"; public static final String VT_STATE_BIDIRECTIONAL = "BIDIRECTIONAL"; public static final String VT_STATE_TX_PAUSED = "TX_PAUSED"; public static final String VT_STATE_RX_PAUSED = "RX_PAUSED"; public static final String VT_STATE_BIDIRECTIONAL_PAUSED = "BIDIRECTIONAL_PAUSED"; public static final String VT_STATE_STATE_INVALID = "INVALID"; /** * Constant for Video Telephony Video quality * **/ public static final String VT_VIDEO_QUALITY_DEFAULT = "DEFAULT"; public static final String VT_VIDEO_QUALITY_UNKNOWN = "UNKNOWN"; public static final String VT_VIDEO_QUALITY_HIGH = "HIGH"; public static final String VT_VIDEO_QUALITY_MEDIUM = "MEDIUM"; public static final String VT_VIDEO_QUALITY_LOW = "LOW"; public static final String VT_VIDEO_QUALITY_INVALID = "INVALID"; /** * Constant for Call State (for call object) * **/ public static final String CALL_STATE_ACTIVE = "ACTIVE"; public static final String CALL_STATE_NEW = "NEW"; public static final String CALL_STATE_DIALING = "DIALING"; public static final String CALL_STATE_RINGING = "RINGING"; public static final String CALL_STATE_HOLDING = "HOLDING"; public static final String CALL_STATE_DISCONNECTED = "DISCONNECTED"; public static final String CALL_STATE_PRE_DIAL_WAIT = "PRE_DIAL_WAIT"; public static final String CALL_STATE_CONNECTING = "CONNECTING"; public static final String CALL_STATE_DISCONNECTING = "DISCONNECTING"; public static final String CALL_STATE_UNKNOWN = "UNKNOWN"; public static final String CALL_STATE_INVALID = "INVALID"; /** * Constant for PRECISE Call State (for call object) * **/ public static final String PRECISE_CALL_STATE_ACTIVE = "ACTIVE"; public static final String PRECISE_CALL_STATE_ALERTING = "ALERTING"; public static final String PRECISE_CALL_STATE_DIALING = "DIALING"; public static final String PRECISE_CALL_STATE_INCOMING = "INCOMING"; public static final String PRECISE_CALL_STATE_HOLDING = "HOLDING"; public static final String PRECISE_CALL_STATE_DISCONNECTED = "DISCONNECTED"; public static final String PRECISE_CALL_STATE_WAITING = "WAITING"; public static final String PRECISE_CALL_STATE_DISCONNECTING = "DISCONNECTING"; public static final String PRECISE_CALL_STATE_IDLE = "IDLE"; public static final String PRECISE_CALL_STATE_UNKNOWN = "UNKNOWN"; public static final String PRECISE_CALL_STATE_INVALID = "INVALID"; /** * Constant for DC POWER STATE * **/ public static final String DC_POWER_STATE_LOW = "LOW"; public static final String DC_POWER_STATE_HIGH = "HIGH"; public static final String DC_POWER_STATE_MEDIUM = "MEDIUM"; public static final String DC_POWER_STATE_UNKNOWN = "UNKNOWN"; /** * Constant for Audio Route * **/ public static final String AUDIO_ROUTE_EARPIECE = "EARPIECE"; public static final String AUDIO_ROUTE_BLUETOOTH = "BLUETOOTH"; public static final String AUDIO_ROUTE_SPEAKER = "SPEAKER"; public static final String AUDIO_ROUTE_WIRED_HEADSET = "WIRED_HEADSET"; public static final String AUDIO_ROUTE_WIRED_OR_EARPIECE = "WIRED_OR_EARPIECE"; /** * Constant for Call Capability * **/ public static final String CALL_CAPABILITY_HOLD = "HOLD"; public static final String CALL_CAPABILITY_SUPPORT_HOLD = "SUPPORT_HOLD"; public static final String CALL_CAPABILITY_MERGE_CONFERENCE = "MERGE_CONFERENCE"; public static final String CALL_CAPABILITY_SWAP_CONFERENCE = "SWAP_CONFERENCE"; public static final String CALL_CAPABILITY_UNUSED_1 = "UNUSED_1"; public static final String CALL_CAPABILITY_RESPOND_VIA_TEXT = "RESPOND_VIA_TEXT"; public static final String CALL_CAPABILITY_MUTE = "MUTE"; public static final String CALL_CAPABILITY_MANAGE_CONFERENCE = "MANAGE_CONFERENCE"; public static final String CALL_CAPABILITY_SUPPORTS_VT_LOCAL_RX = "SUPPORTS_VT_LOCAL_RX"; public static final String CALL_CAPABILITY_SUPPORTS_VT_LOCAL_TX = "SUPPORTS_VT_LOCAL_TX"; public static final String CALL_CAPABILITY_SUPPORTS_VT_LOCAL_BIDIRECTIONAL = "SUPPORTS_VT_LOCAL_BIDIRECTIONAL"; public static final String CALL_CAPABILITY_SUPPORTS_VT_REMOTE_RX = "SUPPORTS_VT_REMOTE_RX"; public static final String CALL_CAPABILITY_SUPPORTS_VT_REMOTE_TX = "SUPPORTS_VT_REMOTE_TX"; public static final String CALL_CAPABILITY_SUPPORTS_VT_REMOTE_BIDIRECTIONAL = "SUPPORTS_VT_REMOTE_BIDIRECTIONAL"; public static final String CALL_CAPABILITY_SEPARATE_FROM_CONFERENCE = "SEPARATE_FROM_CONFERENCE"; public static final String CALL_CAPABILITY_DISCONNECT_FROM_CONFERENCE = "DISCONNECT_FROM_CONFERENCE"; public static final String CALL_CAPABILITY_SPEED_UP_MT_AUDIO = "SPEED_UP_MT_AUDIO"; public static final String CALL_CAPABILITY_CAN_UPGRADE_TO_VIDEO = "CAN_UPGRADE_TO_VIDEO"; public static final String CALL_CAPABILITY_CAN_PAUSE_VIDEO = "CAN_PAUSE_VIDEO"; public static final String CALL_CAPABILITY_UNKOWN = "UNKOWN"; /** * Constant for Call Property * **/ public static final String CALL_PROPERTY_HIGH_DEF_AUDIO = "HIGH_DEF_AUDIO"; public static final String CALL_PROPERTY_CONFERENCE = "CONFERENCE"; public static final String CALL_PROPERTY_GENERIC_CONFERENCE = "GENERIC_CONFERENCE"; public static final String CALL_PROPERTY_WIFI = "WIFI"; public static final String CALL_PROPERTY_EMERGENCY_CALLBACK_MODE = "EMERGENCY_CALLBACK_MODE"; public static final String CALL_PROPERTY_UNKNOWN = "UNKNOWN"; /** * Constant for Call Presentation * **/ public static final String CALL_PRESENTATION_ALLOWED = "ALLOWED"; public static final String CALL_PRESENTATION_RESTRICTED = "RESTRICTED"; public static final String CALL_PRESENTATION_PAYPHONE = "PAYPHONE"; public static final String CALL_PRESENTATION_UNKNOWN = "UNKNOWN"; /** * Constant for Network RAT * **/ public static final String RAT_IWLAN = "IWLAN"; public static final String RAT_LTE = "LTE"; public static final String RAT_4G = "4G"; public static final String RAT_3G = "3G"; public static final String RAT_2G = "2G"; public static final String RAT_WCDMA = "WCDMA"; public static final String RAT_UMTS = "UMTS"; public static final String RAT_1XRTT = "1XRTT"; public static final String RAT_EDGE = "EDGE"; public static final String RAT_GPRS = "GPRS"; public static final String RAT_HSDPA = "HSDPA"; public static final String RAT_HSUPA = "HSUPA"; public static final String RAT_CDMA = "CDMA"; public static final String RAT_EVDO = "EVDO"; public static final String RAT_EVDO_0 = "EVDO_0"; public static final String RAT_EVDO_A = "EVDO_A"; public static final String RAT_EVDO_B = "EVDO_B"; public static final String RAT_IDEN = "IDEN"; public static final String RAT_EHRPD = "EHRPD"; public static final String RAT_HSPA = "HSPA"; public static final String RAT_HSPAP = "HSPAP"; public static final String RAT_GSM = "GSM"; public static final String RAT_TD_SCDMA = "TD_SCDMA"; public static final String RAT_GLOBAL = "GLOBAL"; public static final String RAT_UNKNOWN = "UNKNOWN"; /** * Constant for Phone Type * **/ public static final String PHONE_TYPE_GSM = "GSM"; public static final String PHONE_TYPE_NONE = "NONE"; public static final String PHONE_TYPE_CDMA = "CDMA"; public static final String PHONE_TYPE_SIP = "SIP"; /** * Constant for SIM State * **/ public static final String SIM_STATE_READY = "READY"; public static final String SIM_STATE_UNKNOWN = "UNKNOWN"; public static final String SIM_STATE_ABSENT = "ABSENT"; public static final String SIM_STATE_PUK_REQUIRED = "PUK_REQUIRED"; public static final String SIM_STATE_PIN_REQUIRED = "PIN_REQUIRED"; public static final String SIM_STATE_NETWORK_LOCKED = "NETWORK_LOCKED"; public static final String SIM_STATE_NOT_READY = "NOT_READY"; public static final String SIM_STATE_PERM_DISABLED = "PERM_DISABLED"; public static final String SIM_STATE_CARD_IO_ERROR = "CARD_IO_ERROR"; /** * Constant for Data Connection State * **/ public static final String DATA_STATE_CONNECTED = "CONNECTED"; public static final String DATA_STATE_DISCONNECTED = "DISCONNECTED"; public static final String DATA_STATE_CONNECTING = "CONNECTING"; public static final String DATA_STATE_SUSPENDED = "SUSPENDED"; public static final String DATA_STATE_UNKNOWN = "UNKNOWN"; /** * Constant for Telephony Manager Call State * **/ public static final String TELEPHONY_STATE_RINGING = "RINGING"; public static final String TELEPHONY_STATE_IDLE = "IDLE"; public static final String TELEPHONY_STATE_OFFHOOK = "OFFHOOK"; public static final String TELEPHONY_STATE_UNKNOWN = "UNKNOWN"; /** * Constant for TTY Mode * **/ public static final String TTY_MODE_FULL = "FULL"; public static final String TTY_MODE_HCO = "HCO"; public static final String TTY_MODE_OFF = "OFF"; public static final String TTY_MODE_VCO ="VCO"; /** * Constant for Service State * **/ public static final String SERVICE_STATE_EMERGENCY_ONLY = "EMERGENCY_ONLY"; public static final String SERVICE_STATE_IN_SERVICE = "IN_SERVICE"; public static final String SERVICE_STATE_OUT_OF_SERVICE = "OUT_OF_SERVICE"; public static final String SERVICE_STATE_POWER_OFF = "POWER_OFF"; public static final String SERVICE_STATE_UNKNOWN = "UNKNOWN"; /** * Constant for VoLTE Hand-over Service State * **/ public static final String VOLTE_SERVICE_STATE_HANDOVER_STARTED = "STARTED"; public static final String VOLTE_SERVICE_STATE_HANDOVER_COMPLETED = "COMPLETED"; public static final String VOLTE_SERVICE_STATE_HANDOVER_FAILED = "FAILED"; public static final String VOLTE_SERVICE_STATE_HANDOVER_CANCELED = "CANCELED"; public static final String VOLTE_SERVICE_STATE_HANDOVER_UNKNOWN = "UNKNOWN"; /** * Constant for precise call state state listen level * **/ public static final String PRECISE_CALL_STATE_LISTEN_LEVEL_FOREGROUND = "FOREGROUND"; public static final String PRECISE_CALL_STATE_LISTEN_LEVEL_RINGING = "RINGING"; public static final String PRECISE_CALL_STATE_LISTEN_LEVEL_BACKGROUND = "BACKGROUND"; /** * Constant for Video Call Session Event Name * **/ public static final String SESSION_EVENT_RX_PAUSE = "SESSION_EVENT_RX_PAUSE"; public static final String SESSION_EVENT_RX_RESUME = "SESSION_EVENT_RX_RESUME"; public static final String SESSION_EVENT_TX_START = "SESSION_EVENT_TX_START"; public static final String SESSION_EVENT_TX_STOP = "SESSION_EVENT_TX_STOP"; public static final String SESSION_EVENT_CAMERA_FAILURE = "SESSION_EVENT_CAMERA_FAILURE"; public static final String SESSION_EVENT_CAMERA_READY = "SESSION_EVENT_CAMERA_READY"; public static final String SESSION_EVENT_UNKNOWN = "SESSION_EVENT_UNKNOWN"; /** * Constants used to Register or de-register for Video Call Callbacks * **/ public static final String EVENT_VIDEO_SESSION_MODIFY_REQUEST_RECEIVED = "EVENT_VIDEO_SESSION_MODIFY_REQUEST_RECEIVED"; public static final String EVENT_VIDEO_SESSION_MODIFY_RESPONSE_RECEIVED = "EVENT_VIDEO_SESSION_MODIFY_RESPONSE_RECEIVED"; public static final String EVENT_VIDEO_SESSION_EVENT = "EVENT_VIDEO_SESSION_EVENT"; public static final String EVENT_VIDEO_PEER_DIMENSIONS_CHANGED = "EVENT_VIDEO_PEER_DIMENSIONS_CHANGED"; public static final String EVENT_VIDEO_QUALITY_CHANGED = "EVENT_VIDEO_QUALITY_CHANGED"; public static final String EVENT_VIDEO_DATA_USAGE_CHANGED = "EVENT_VIDEO_DATA_USAGE_CHANGED"; public static final String EVENT_VIDEO_CAMERA_CAPABILITIES_CHANGED = "EVENT_VIDEO_CAMERA_CAPABILITIES_CHANGED"; public static final String EVENT_VIDEO_INVALID = "EVENT_VIDEO_INVALID"; /** * Constant for Network Preference * **/ public static final String NETWORK_MODE_WCDMA_PREF = "NETWORK_MODE_WCDMA_PREF"; public static final String NETWORK_MODE_GSM_ONLY = "NETWORK_MODE_GSM_ONLY"; public static final String NETWORK_MODE_WCDMA_ONLY = "NETWORK_MODE_WCDMA_ONLY"; public static final String NETWORK_MODE_GSM_UMTS = "NETWORK_MODE_GSM_UMTS"; public static final String NETWORK_MODE_CDMA = "NETWORK_MODE_CDMA"; public static final String NETWORK_MODE_CDMA_NO_EVDO = "NETWORK_MODE_CDMA_NO_EVDO"; public static final String NETWORK_MODE_EVDO_NO_CDMA = "NETWORK_MODE_EVDO_NO_CDMA"; public static final String NETWORK_MODE_GLOBAL = "NETWORK_MODE_GLOBAL"; public static final String NETWORK_MODE_LTE_CDMA_EVDO = "NETWORK_MODE_LTE_CDMA_EVDO"; public static final String NETWORK_MODE_LTE_GSM_WCDMA = "NETWORK_MODE_LTE_GSM_WCDMA"; public static final String NETWORK_MODE_LTE_CDMA_EVDO_GSM_WCDMA = "NETWORK_MODE_LTE_CDMA_EVDO_GSM_WCDMA"; public static final String NETWORK_MODE_LTE_ONLY = "NETWORK_MODE_LTE_ONLY"; public static final String NETWORK_MODE_LTE_WCDMA = "NETWORK_MODE_LTE_WCDMA"; public static final String NETWORK_MODE_TDSCDMA_ONLY = "NETWORK_MODE_TDSCDMA_ONLY"; public static final String NETWORK_MODE_TDSCDMA_WCDMA = "NETWORK_MODE_TDSCDMA_WCDMA"; public static final String NETWORK_MODE_LTE_TDSCDMA = "NETWORK_MODE_LTE_TDSCDMA"; public static final String NETWORK_MODE_TDSCDMA_GSM = "NETWORK_MODE_TDSCDMA_GSM"; public static final String NETWORK_MODE_LTE_TDSCDMA_GSM = "NETWORK_MODE_LTE_TDSCDMA_GSM"; public static final String NETWORK_MODE_TDSCDMA_GSM_WCDMA = "NETWORK_MODE_TDSCDMA_GSM_WCDMA"; public static final String NETWORK_MODE_LTE_TDSCDMA_WCDMA = "NETWORK_MODE_LTE_TDSCDMA_WCDMA"; public static final String NETWORK_MODE_LTE_TDSCDMA_GSM_WCDMA = "NETWORK_MODE_LTE_TDSCDMA_GSM_WCDMA"; public static final String NETWORK_MODE_TDSCDMA_CDMA_EVDO_GSM_WCDMA = "NETWORK_MODE_TDSCDMA_CDMA_EVDO_GSM_WCDMA"; public static final String NETWORK_MODE_LTE_TDSCDMA_CDMA_EVDO_GSM_WCDMA = "NETWORK_MODE_LTE_TDSCDMA_CDMA_EVDO_GSM_WCDMA"; public static final String NETWORK_MODE_INVALID = "INVALID"; /** * Constant for Messaging Event Name * **/ public static final String EventSmsDeliverSuccess = "SmsDeliverSuccess"; public static final String EventSmsDeliverFailure = "SmsDeliverFailure"; public static final String EventSmsSentSuccess = "SmsSentSuccess"; public static final String EventSmsSentFailure = "SmsSentFailure"; public static final String EventSmsReceived = "SmsReceived"; public static final String EventMmsSentSuccess = "MmsSentSuccess"; public static final String EventMmsSentFailure = "MmsSentFailure"; public static final String EventMmsDownloaded = "MmsDownloaded"; public static final String EventWapPushReceived = "WapPushReceived"; public static final String EventDataSmsReceived = "DataSmsReceived"; public static final String EventCmasReceived = "CmasReceived"; public static final String EventEtwsReceived = "EtwsReceived"; /** * Constant for Telecom Event Names * **/ public static final String EventTelecomCallAdded = "TelecomCallAdded"; public static final String EventTelecomCallRemoved = "TelecomCallRemoved"; /** * Constant for Telecom Call Event Names * **/ public static final String EventTelecomCallStateChanged = "TelecomCallStateChanged"; public static final String EventTelecomCallParentChanged = "TelecomCallParentChanged"; public static final String EventTelecomCallChildrenChanged = "TelecomCallChildrenChanged"; public static final String EventTelecomCallDetailsChanged = "TelecomCallDetailsChanged"; public static final String EventTelecomCallCannedTextResponsesLoaded = "TelecomCallCannedTextResponsesLoaded"; public static final String EventTelecomCallPostDialWait = "TelecomCallPostDialWait"; public static final String EventTelecomCallVideoCallChanged = "TelecomCallVideoCallChanged"; public static final String EventTelecomCallDestroyed = "TelecomCallDestroyed"; public static final String EventTelecomCallConferenceableCallsChanged = "TelecomCallConferenceableCallsChanged"; /** * Constant for Video Call Event Name * **/ public static final String EventTelecomVideoCallSessionModifyRequestReceived = "TelecomVideoCallSessionModifyRequestReceived"; public static final String EventTelecomVideoCallSessionModifyResponseReceived = "TelecomVideoCallSessionModifyResponseReceived"; public static final String EventTelecomVideoCallSessionEvent = "TelecomVideoCallSessionEvent"; public static final String EventTelecomVideoCallPeerDimensionsChanged = "TelecomVideoCallPeerDimensionsChanged"; public static final String EventTelecomVideoCallVideoQualityChanged = "TelecomVideoCallVideoQualityChanged"; public static final String EventTelecomVideoCallDataUsageChanged = "TelecomVideoCallDataUsageChanged"; public static final String EventTelecomVideoCallCameraCapabilities = "TelecomVideoCallCameraCapabilities"; /** * Constant for Other Event Name * **/ public static final String EventCellInfoChanged = "CellInfoChanged"; public static final String EventCallStateChanged = "CallStateChanged"; public static final String EventPreciseStateChanged = "PreciseStateChanged"; public static final String EventDataConnectionRealTimeInfoChanged = "DataConnectionRealTimeInfoChanged"; public static final String EventDataConnectionStateChanged = "DataConnectionStateChanged"; public static final String EventServiceStateChanged = "ServiceStateChanged"; public static final String EventSignalStrengthChanged = "SignalStrengthChanged"; public static final String EventVolteServiceStateChanged = "VolteServiceStateChanged"; public static final String EventMessageWaitingIndicatorChanged = "MessageWaitingIndicatorChanged"; public static final String EventConnectivityChanged = "ConnectivityChanged"; /** * Constant for Packet Keep Alive Call Back * **/ public static final String EventPacketKeepaliveCallback = "PacketKeepaliveCallback"; /*Sub-Event Names*/ public static final String PacketKeepaliveCallbackStarted = "Started"; public static final String PacketKeepaliveCallbackStopped = "Stopped"; public static final String PacketKeepaliveCallbackError = "Error"; public static final String PacketKeepaliveCallbackInvalid = "Invalid"; /** * Constant for Network Call Back * **/ public static final String EventNetworkCallback = "NetworkCallback"; /*Sub-Event Names*/ public static final String NetworkCallbackPreCheck = "PreCheck"; public static final String NetworkCallbackAvailable = "Available"; public static final String NetworkCallbackLosing = "Losing"; public static final String NetworkCallbackLost = "Lost"; public static final String NetworkCallbackUnavailable = "Unavailable"; public static final String NetworkCallbackCapabilitiesChanged = "CapabilitiesChanged"; public static final String NetworkCallbackSuspended = "Suspended"; public static final String NetworkCallbackResumed = "Resumed"; public static final String NetworkCallbackLinkPropertiesChanged = "LinkPropertiesChanged"; public static final String NetworkCallbackInvalid = "Invalid"; /** * Constant for Signal Strength fields * **/ public static class SignalStrengthContainer { public static final String SIGNAL_STRENGTH_GSM = "gsmSignalStrength"; public static final String SIGNAL_STRENGTH_GSM_DBM = "gsmDbm"; public static final String SIGNAL_STRENGTH_GSM_LEVEL = "gsmLevel"; public static final String SIGNAL_STRENGTH_GSM_ASU_LEVEL = "gsmAsuLevel"; public static final String SIGNAL_STRENGTH_GSM_BIT_ERROR_RATE = "gsmBitErrorRate"; public static final String SIGNAL_STRENGTH_CDMA_DBM = "cdmaDbm"; public static final String SIGNAL_STRENGTH_CDMA_LEVEL = "cdmaLevel"; public static final String SIGNAL_STRENGTH_CDMA_ASU_LEVEL = "cdmaAsuLevel"; public static final String SIGNAL_STRENGTH_CDMA_ECIO = "cdmaEcio"; public static final String SIGNAL_STRENGTH_EVDO_DBM = "evdoDbm"; public static final String SIGNAL_STRENGTH_EVDO_ECIO = "evdoEcio"; public static final String SIGNAL_STRENGTH_LTE = "lteSignalStrength"; public static final String SIGNAL_STRENGTH_LTE_DBM = "lteDbm"; public static final String SIGNAL_STRENGTH_LTE_LEVEL = "lteLevel"; public static final String SIGNAL_STRENGTH_LTE_ASU_LEVEL = "lteAsuLevel"; public static final String SIGNAL_STRENGTH_DBM = "dbm"; public static final String SIGNAL_STRENGTH_LEVEL = "level"; public static final String SIGNAL_STRENGTH_ASU_LEVEL = "asuLevel"; } public static class CallStateContainer { public static final String INCOMING_NUMBER = "incomingNumber"; public static final String SUBSCRIPTION_ID = "subscriptionId"; public static final String CALL_STATE = "callState"; } public static class PreciseCallStateContainer { public static final String TYPE = "type"; public static final String CAUSE = "cause"; public static final String SUBSCRIPTION_ID = "subscriptionId"; public static final String PRECISE_CALL_STATE = "preciseCallState"; } public static class DataConnectionRealTimeInfoContainer { public static final String TYPE = "type"; public static final String TIME = "time"; public static final String SUBSCRIPTION_ID = "subscriptionId"; public static final String DATA_CONNECTION_POWER_STATE = "dataConnectionPowerState"; } public static class DataConnectionStateContainer { public static final String TYPE = "type"; public static final String DATA_NETWORK_TYPE = "dataNetworkType"; public static final String STATE_CODE = "stateCode"; public static final String SUBSCRIPTION_ID = "subscriptionId"; public static final String DATA_CONNECTION_STATE = "dataConnectionState"; } public static class ServiceStateContainer { public static final String VOICE_REG_STATE = "voiceRegState"; public static final String VOICE_NETWORK_TYPE = "voiceNetworkType"; public static final String DATA_REG_STATE = "dataRegState"; public static final String DATA_NETWORK_TYPE = "dataNetworkType"; public static final String OPERATOR_NAME = "operatorName"; public static final String OPERATOR_ID = "operatorId"; public static final String IS_MANUAL_NW_SELECTION = "isManualNwSelection"; public static final String ROAMING = "roaming"; public static final String IS_EMERGENCY_ONLY = "isEmergencyOnly"; public static final String NETWORK_ID = "networkId"; public static final String SYSTEM_ID = "systemId"; public static final String SUBSCRIPTION_ID = "subscriptionId"; public static final String SERVICE_STATE = "serviceState"; } public static class MessageWaitingIndicatorContainer { public static final String IS_MESSAGE_WAITING = "isMessageWaiting"; } public static class VoLteServiceStateContainer { public static final String SRVCC_STATE = "srvccState"; } public static class PacketKeepaliveContainer { public static final String ID = "id"; public static final String PACKET_KEEPALIVE_EVENT = "packetKeepaliveEvent"; } public static class NetworkCallbackContainer { public static final String ID = "id"; public static final String NETWORK_CALLBACK_EVENT = "networkCallbackEvent"; public static final String MAX_MS_TO_LIVE = "maxMsToLive"; public static final String RSSI = "rssi"; } }