android中AppWidgetManager的解析

android.appwidget.AppWidgetManager

 

For more information about creating app widgets, read the App Widgets developer guide.

请阅读App Widgets开发者指南了解更多关于创建app widgets的信息。


Summary

总结如下:


Constants

常量:


String ACTION_APPWIDGET_CONFIGURE Sent when it is time to configure your AppWidget while it is being added to a host.

字符串类型 ACTION_APPWIDGET_CONFIGURE : 当配置你的AppWidget时它被添加到主机上面并发送。


String ACTION_APPWIDGET_DELETED Sent when an instance of an AppWidget is deleted from its host.

字符串类型 ACTION_APPWIDGET_DELETED :当一个AppWidget的实例从主机上面被删除时发送。


String ACTION_APPWIDGET_DISABLED Sent when an instance of an AppWidget is removed from the last host.

字符串类型 ACTION_APPWIDGET_DISABLED:当一个AppWidget实例从最后一个主机上面清除时发送。


String ACTION_APPWIDGET_ENABLED Sent when an instance of an AppWidget is added to a host for the first time.

字符串类型 ACTION_APPWIDGET_ENABLE:当一个AppWidget的实例在第一时间添加到一个主机上时发送。


String ACTION_APPWIDGET_PICK Send this from your AppWidgetHost activity when you want to pick an AppWidget to display.

字符串类型 ACTION_APPWIDGET_PICK:当你想要从你的AppWidgetHost activity中选择一个AppWidget展示时发送这个。


String ACTION_APPWIDGET_UPDATE Sent when it is time to update your AppWidget.

字符串类型 ACTION_APPWIDGET_UPDATE:当你更新你的AppWidget时发送。


String EXTRA_APPWIDGET_ID An intent extra that contains one appWidgetId.

字符串类型 EXTRA_APPWIDGET_ID :一个Intent包含额外的appWidgetId。


String EXTRA_APPWIDGET_IDS An intent extra that contains multiple appWidgetIds.

字符串类型 EXTRA_APPWIDGET_IDS:一个Intent额外包含多个appWidgetIds。


String EXTRA_CUSTOM_EXTRAS An intent extra to pass to the AppWidget picker containing a List of Bundle objects to mix in to the list of AppWidgets that are installed. It will be added to the extras object on the Intent that is returned from the picker activity. 

字符串类型 EXTRA_CUSTOM_EXTRAS 一个intent对象额外的包含Bundle对象列表,并且混在这个列表里面的AppWidgets已经被安装到AppWidget选择器中。


String EXTRA_CUSTOM_INFO An intent extra to pass to the AppWidget picker containing a List of AppWidgetProviderInfo objects to mix in to the list of AppWidgets that are installed.

字符串类型 EXTRA_CUSTOM_INFO 一个intent对象额外的包含AppWidgetProviderInfo 对象的列表并且混在列表中AppWidgets已经被安装到AppWidget选择器。


int INVALID_APPWIDGET_ID A sentiel value that the AppWidget manager will never return as a appWidgetId.

整数类型 INVALID_APPWIDGET_ID :一个AppWidget管理器永远也不会像appWidgetId一样返回的sentiel值。


String META_DATA_APPWIDGET_PROVIDER Field for the manifest meta-data tag.

字符串类型 META_DATA_APPWIDGET_PROVIDER :元数据标志的清单文件。

你可能感兴趣的:(Android知识总结)