Freigeben über


Intent.ActionAirplaneModeChanged Field

Definition

Broadcast Action: The user has switched the phone into or out of Airplane Mode.

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

Field Value

Implements

Attributes

Remarks

Broadcast Action: The user has switched the phone into or out of Airplane Mode. One or more radios have been turned off or on. The intent will have the following extra value:

<ul> <li><em>state</em> - A boolean value indicating whether Airplane Mode is on. If true, then cell radio and possibly other radios such as bluetooth or WiFi may have also been turned off</li> </ul>

<p class="note">This is a protected intent that can only be sent by the system.</p>

Java documentation for android.content.Intent.ACTION_AIRPLANE_MODE_CHANGED.

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