Share via


ControlsProviderService.MetaDataPanelActivity Field

Definition

Manifest metadata to show a custom embedded activity as part of device controls.

[Android.Runtime.Register("META_DATA_PANEL_ACTIVITY", ApiSince=34)]
public const string MetaDataPanelActivity;
[<Android.Runtime.Register("META_DATA_PANEL_ACTIVITY", ApiSince=34)>]
val mutable MetaDataPanelActivity : string

Field Value

Attributes

Remarks

Manifest metadata to show a custom embedded activity as part of device controls.

The value of this metadata must be the ComponentName as a string of an activity in the same package that will be launched embedded in the device controls space.

The activity must be exported, enabled and protected by Manifest.permission#BIND_CONTROLS.

It is recommended that the activity is declared android:resizeableActivity="true".

Java documentation for android.service.controls.ControlsProviderService.META_DATA_PANEL_ACTIVITY.

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