@Implements(android.appwidget.AppWidgetHost.class) public class ShadowAppWidgetHost extends Object
| Constructor | Description | 
|---|---|
| ShadowAppWidgetHost() | 
| Modifier and Type | Method | Description | 
|---|---|---|
| protected void | __constructor__(Context context,
               int hostId) | |
| protected int | allocateAppWidgetId() | |
| protected AppWidgetHostView | createView(Context context,
          int appWidgetId,
          AppWidgetProviderInfo appWidget) | |
| Context | getContext() | |
| int | getHostId() | |
| void | setAppWidgetIdToAllocate(int idToAllocate) | 
@Implementation protected void __constructor__(Context context, int hostId)
public Context getContext()
public int getHostId()
public void setAppWidgetIdToAllocate(int idToAllocate)
@Implementation protected int allocateAppWidgetId()
@Implementation protected AppWidgetHostView createView(Context context, int appWidgetId, AppWidgetProviderInfo appWidget)