Public Constructors | |
---|---|
HostApplicationInfo(Context context, java.lang.String packageName, long id, int widgetApiVersion, int controlApiVersion, int sensorApiVersion, int notificationApiVersion, int widgetRefreshRate)
Create host application info. |
Public Methods | |
---|---|
java.util.List<DeviceInfo> |
getDevices()
Get the devices for this host application. |
long |
getId()
Get the id. |
int |
getWidgetApiVersion()
Get the widget API version. |
int |
getControlApiVersion()
Get the control API version. |
int |
getRegistrationApiVersion()
Get the registration API version. |
int |
getSensorApiVersion()
Get the sensor API version. |
int |
getNotificationApiVersion()
Get the notification API version. |
int |
getWidgetRefreshRate()
Get the widget refresh rate. |
Create host application info.
context | The context. |
---|---|
packageName | The package name. |
id | The host application id. |
widgetApiVersion | The widget API version. |
controlApiVersion | The control API version. |
sensorApiVersion | The sensor API version. |
notificationApiVersion | The notification API version. |
widgetRefreshRate | The widget refresh rate. |
Get the devices for this host application.
List of the devices.
Get the id.
The id.
Get the widget API version.
The widget API version.
Get the control API version.
The control API version.
Get the registration API version. Certain Registration values rely on SDK version 2.0 although they depend on no specific API version. This method returns the lowest safe API value.
Get the sensor API version.
The sensor API version.
Get the notification API version.
The notification API version.
Get the widget refresh rate.
The widget refresh rate.
The host application class contains information about a host application.