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