Class ShadowAppWidgetHost


  • @Implements(android.appwidget.AppWidgetHost.class)
    public class ShadowAppWidgetHost
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ShadowAppWidgetHost

        public ShadowAppWidgetHost()
    • Method Detail

      • __constructor__

        @Implementation
        protected void __constructor__​(android.content.Context context,
                                       int hostId)
      • getContext

        public android.content.Context getContext()
      • getHostId

        public int getHostId()
      • setAppWidgetIdToAllocate

        public void setAppWidgetIdToAllocate​(int idToAllocate)
      • allocateAppWidgetId

        @Implementation
        protected int allocateAppWidgetId()
      • createView

        @Implementation
        protected android.appwidget.AppWidgetHostView createView​(android.content.Context context,
                                                                 int appWidgetId,
                                                                 android.appwidget.AppWidgetProviderInfo appWidget)