Partager via


TelephonyManager.EventDisplayEmergencyMessage Field

Definition

Event reported from the Telephony stack to indicate that the Connection is not able to find any network and likely will not get connected.

[Android.Runtime.Register("EVENT_DISPLAY_EMERGENCY_MESSAGE", ApiSince=35)]
public const string EventDisplayEmergencyMessage;
[<Android.Runtime.Register("EVENT_DISPLAY_EMERGENCY_MESSAGE", ApiSince=35)>]
val mutable EventDisplayEmergencyMessage : string

Field Value

Attributes

Remarks

Event reported from the Telephony stack to indicate that the Connection is not able to find any network and likely will not get connected. Upon receiving this event, the dialer app should start the app included in the extras bundle of this event if satellite is provisioned.

The dialer app receives this event via Call.Callback#onConnectionEvent(Call, String, Bundle).

The Bundle parameter is guaranteed to include the following extras if the below conditions are met: <ul> <li>#EXTRA_EMERGENCY_CALL_TO_SATELLITE_HANDOVER_TYPE - the recommending handover type.</li> <li>#EXTRA_EMERGENCY_CALL_TO_SATELLITE_LAUNCH_INTENT - the PendingIntent which will be launched by the Dialer app when receiving this connection event.</li> </ul>

If the device is connected to satellite via carrier within the hysteresis time defined by the carrier config CarrierConfigManager#KEY_SATELLITE_CONNECTION_HYSTERESIS_SEC_INT, the component of the #EXTRA_EMERGENCY_CALL_TO_SATELLITE_LAUNCH_INTENT will be set to the default SMS app.

Otherwise, if the overlay config config_oem_enabled_satellite_handover_app is present, the app defined by this config will be used as the component of the #EXTRA_EMERGENCY_CALL_TO_SATELLITE_LAUNCH_INTENT. If this overlay config is empty, #EXTRA_EMERGENCY_CALL_TO_SATELLITE_LAUNCH_INTENT will not be included in the event #EVENT_DISPLAY_EMERGENCY_MESSAGE.

Java documentation for android.telephony.TelephonyManager.EVENT_DISPLAY_EMERGENCY_MESSAGE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to