共用方式為


Settings.ExtraAirplaneModeEnabled Field

Definition

Activity Extra: Enable or disable Airplane Mode.

[Android.Runtime.Register("EXTRA_AIRPLANE_MODE_ENABLED", ApiSince=23)]
public const string ExtraAirplaneModeEnabled;
[<Android.Runtime.Register("EXTRA_AIRPLANE_MODE_ENABLED", ApiSince=23)>]
val mutable ExtraAirplaneModeEnabled : string

Field Value

Attributes

Remarks

Activity Extra: Enable or disable Airplane Mode.

This can be passed as an extra field to the #ACTION_VOICE_CONTROL_AIRPLANE_MODE intent as a boolean to indicate if it should be enabled.

Java documentation for android.provider.Settings.EXTRA_AIRPLANE_MODE_ENABLED.

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