Language

Telephony.Sms.Intents.ActionChangeDefault Field

Definition

Activity action: Ask the user to change the default SMS application.

[Android.Runtime.Register("ACTION_CHANGE_DEFAULT")]
public const string ActionChangeDefault;
[<Android.Runtime.Register("ACTION_CHANGE_DEFAULT")>]
val mutable ActionChangeDefault : string

Field Value

Attributes

Remarks

Activity action: Ask the user to change the default SMS application. This will show a dialog that asks the user whether they want to replace the current default SMS application with the one specified in EXTRA_PACKAGE_NAME. This is no longer supported since Q, please use android.app.role.RoleManager.createRequestRoleIntent(String) with RoleManager.ROLE_SMS instead.

Android reference for android.provider.Telephony.Sms.Intents.ACTION_CHANGE_DEFAULT.

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