android CarrierConfigManager key值的作用

//设备在ims call时,是否支持电话保持 hold功能。
public static final String KEY_ALLOW_HOLD_IN_IMS_CALL_BOOL = "allow_hold_in_ims_call";

/**
 * Flag indicating whether the carrier supports call deflection for an incoming IMS call.
 * @hide
 */
 //是否支持ims call的呼叫转移功能
public static final String KEY_CARRIER_ALLOW_DEFLECT_IMS_CALL_BOOL =
        "carrier_allow_deflect_ims_call_bool";

 /**
 * Flag indicating whether the carrier always wants to play an "on-hold" tone when a call has
 * been remotely held.
 * <p>
 * When {@code true}, if the IMS stack indicates that the call session has been held, a signal
 * will be sent from Telephony to play an audible "on-hold" tone played to the user.
 * When {@code false}, a hold tone will only be played if the audio session becomes inactive.
 * @hide
 */
 是否播放提示音,当电话被远程hold时
public static final String KEY_ALWAYS_PLAY_REMOTE_HOLD_TONE_BOOL =
        "always_play_remote_hold_tone_bool";       

/**
 * When true, the Telephony stack will automatically turn off airplane mode and retry a wifi
 * emergency call over the cell network if the initial attempt at dialing was met with a SIP 308
 * error.
 * @hide
 */
 //同伙wifi拨打紧急号码时,是否自动退出飞行模式,并尝试自动连接wifi
public static final String KEY_AUTO_RETRY_FAILED_WIFI_EMERGENCY_CALL =
        "auto_retry_failed_wifi_emergency_call";
               
/** Does not display additional call setting for IMS phone based on GSM Phone */
//是否显示 附加设置菜单
public static final String KEY_ADDITIONAL_CALL_SETTING_BOOL = "additional_call_setting_bool";

/**
 * Determines if the current device should allow emergency numbers to be logged in the Call Log.
 * (Some carriers require that emergency calls *not* be logged, presumably to avoid the risk of
 * accidental redialing from the call log UI. This is a good idea, so the default here is
 * false.)
 */
 是否将紧急呼叫记录,添加到通话记录中
public static final String
        KEY_ALLOW_EMERGENCY_NUMBERS_IN_CALL_LOG_BOOL = "allow_emergency_numbers_in_call_log_bool";
        
/**
 * A string array containing numbers that shouldn't be included in the call log.
 * @hide
 */
 //通话记录列表是否显示电话号码。
public static final String KEY_UNLOGGABLE_NUMBERS_STRING_ARRAY =
        "unloggable_numbers_string_array";

/**
 * Determine whether we want to play local DTMF tones in a call, or just let the radio/BP handle
 * playing of the tones.
 */
 //在通话中,是否需要播放dtmf tone
public static final String KEY_ALLOW_LOCAL_DTMF_TONES_BOOL = "allow_local_dtmf_tones_bool";        

/**
 * Determines if the carrier requires that a tone be played to the remote party when an app is
 * recording audio during a call (e.g. using a call recording app).
 * <p>
 * Note: This requires the Telephony config_supports_telephony_audio_device overlay to be true
 * in order to work.
 * @hide
 */
 //通话中,点击录音按键是否需要提示音
public static final String KEY_PLAY_CALL_RECORDING_TONE_BOOL = "play_call_recording_tone_bool";

/** Control whether users can edit APNs in Settings. */
//用户是否可以在设置应用中 编写apn
public static final String KEY_APN_EXPAND_BOOL = "apn_expand_bool";

/** Flag indicating if auto retry is enabled */
//是否允许自动连接
public static final String KEY_AUTO_RETRY_ENABLED_BOOL = "auto_retry_enabled_bool";

/** Display carrier settings menu if true */
//是否显示运营商设置菜单
public static final String KEY_CARRIER_SETTINGS_ENABLE_BOOL = "carrier_settings_enable_bool";

/**
 * Flag specifying whether VoLTE should be available for carrier, independent of carrier
 * provisioning. If false: hard disabled. If true: then depends on carrier provisioning,
 * availability, etc.
 */
 是否支持volte通话功能
public static final String KEY_CARRIER_VOLTE_AVAILABLE_BOOL = "carrier_volte_available_bool";

/**
 * Flag specifying whether video telephony is available for carrier. If false: hard disabled.
 * If true: then depends on carrier provisioning, availability, etc.
 */
 //是否支持视频通话功能
public static final String KEY_CARRIER_VT_AVAILABLE_BOOL = "carrier_vt_available_bool";

/**
 * Flag specifying whether the carrier wants to notify the user when a VT call has been handed
 * over from WIFI to LTE.
 * <p>
 * The handover notification is sent as a
 * {@link TelephonyManager#EVENT_HANDOVER_VIDEO_FROM_WIFI_TO_LTE}
 * {@link android.telecom.Connection} event, which an {@link android.telecom.InCallService}
 * should use to trigger the display of a user-facing message.
 * <p>
 * The Connection event is sent to the InCallService only once, the first time it occurs.
 * @hide
 */
//视频通话中,当数据方式从wifi 改变到lte,是否需要提示
public static final String KEY_NOTIFY_HANDOVER_VIDEO_FROM_WIFI_TO_LTE_BOOL =
        "notify_handover_video_from_wifi_to_lte_bool";
/**
 * Flag specifying whether the carrier wants to notify the user when a VT call has been handed
 * over from LTE to WIFI.
 * <p>
 * The handover notification is sent as a
 * {@link TelephonyManager#EVENT_HANDOVER_VIDEO_FROM_LTE_TO_WIFI}
 * {@link android.telecom.Connection} event, which an {@link android.telecom.InCallService}
 * should use to trigger the display of a user-facing message.
 * @hide
 */
 //视频通话中,当数据方式从lte 改动到wifi,是否需要提示
public static final String KEY_NOTIFY_HANDOVER_VIDEO_FROM_LTE_TO_WIFI_BOOL =
        "notify_handover_video_from_lte_to_wifi_bool";
/**
 * Flag specifying whether the carrier supports downgrading a video call (tx, rx or tx/rx)
 * directly to an audio call.
 * @hide
 */
 //是否支持视频通话,切换到语音通话功能
public static final String KEY_SUPPORT_DOWNGRADE_VT_TO_AUDIO_BOOL =
        "support_downgrade_vt_to_audio_bool";
/**
 * Where there is no preloaded voicemail number on a SIM card, specifies the carrier's default
 * voicemail number.
 * When empty string, no default voicemail number is specified.
 */
 //默认voicemeail 语音信箱号码
public static final String KEY_DEFAULT_VM_NUMBER_STRING = "default_vm_number_string";
/**
 * Where there is no preloaded voicemail number on a SIM card, specifies the carrier's default
 * voicemail number for roaming network.
 * When empty string, no default voicemail number is specified for roaming network.
 * @hide
 */
 //默认voicemail 语音信箱漫游号码
public static final String KEY_DEFAULT_VM_NUMBER_ROAMING_STRING =
        "default_vm_number_roaming_string";
/**
 * Flag indicating whether data used for a video call over LTE is metered or not.
 * <p>
 * When {@code true}, if the device hits the data limit or data is disabled during a ViLTE call,
 * the call will be downgraded to audio-only (or paused if
 * {@link #KEY_SUPPORT_PAUSE_IMS_VIDEO_CALLS_BOOL} is {@code true}).
 *
 * @hide
 */
 //是否对vilte 通话中的数据流量进行计量统计
public static final String KEY_VILTE_DATA_IS_METERED_BOOL = "vilte_data_is_metered_bool";
/**
 * Flag specifying whether WFC over IMS should be available for carrier: independent of
 * carrier provisioning. If false: hard disabled. If true: then depends on carrier
 * provisioning, availability etc.
 */
 //是否支持wfc
public static final String KEY_CARRIER_WFC_IMS_AVAILABLE_BOOL = "carrier_wfc_ims_available_bool";
/**
 * Flag specifying whether WFC over IMS supports the "wifi only" option.  If false, the wifi
 * calling settings will not include an option for "wifi only".  If true, the wifi calling
 * settings will include an option for "wifi only"
 * <p>
 * By default, it is assumed that WFC supports "wifi only".
 */
 //是否只支持wifi 的wfc
public static final String KEY_CARRIER_WFC_SUPPORTS_WIFI_ONLY_BOOL =
        "carrier_wfc_supports_wifi_only_bool";
        
/**
 * Default WFC_IMS_enabled: true VoWiFi by default is on
 *                          false VoWiFi by default is off
 * @hide
 */
 //wfc 选项的默认开关
public static final String KEY_CARRIER_DEFAULT_WFC_IMS_ENABLED_BOOL =
        "carrier_default_wfc_ims_enabled_bool";        
发布了376 篇原创文章 · 获赞 40 · 访问量 46万+

猜你喜欢

转载自blog.csdn.net/wangjicong_215/article/details/104812147