AppWidgetProviderInfo.Provider Property

Definition

Identity of this AppWidget component.

[Android.Runtime.Register("provider")]
public Android.Content.ComponentName? Provider { get; set; }
[<Android.Runtime.Register("provider")>]
member this.Provider : Android.Content.ComponentName with get, set

Property Value

Attributes

Remarks

Identity of this AppWidget component. This component should be a android.content.BroadcastReceiver, and it will be sent the AppWidget intents android.appwidget as described in the AppWidget package documentation.

This field corresponds to the android:name attribute in the &lt;receiver&gt; element in the AndroidManifest.xml file.

Java documentation for android.appwidget.AppWidgetProviderInfo.provider.

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