Udostępnij za pośrednictwem


AppWidgetHost.AllocateAppWidgetId Method

Definition

Get a appWidgetId for a host in the calling process.

[Android.Runtime.Register("allocateAppWidgetId", "()I", "GetAllocateAppWidgetIdHandler")]
public virtual int AllocateAppWidgetId ();
[<Android.Runtime.Register("allocateAppWidgetId", "()I", "GetAllocateAppWidgetIdHandler")>]
abstract member AllocateAppWidgetId : unit -> int
override this.AllocateAppWidgetId : unit -> int

Returns

a appWidgetId

Attributes

Remarks

Get a appWidgetId for a host in the calling process.

Java documentation for android.appwidget.AppWidgetHost.allocateAppWidgetId().

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