com.mobiroo.xgen.drm.loader
public class MobirooDrmInspector extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
MobirooDrmInspector.MobirooException |
static class |
MobirooDrmInspector.MobirooStoreNotFoundException |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TAG
The class tag name
|
Constructor and Description |
---|
MobirooDrmInspector() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isDebugLog()
returns if the logging is enabled for this model
|
static void |
isValidActivity(Activity activity) |
static void |
isValidContext(Context context) |
static void |
isValidService(Context context) |
static void |
isValidWidgetUpdate(Context context,
AppWidgetManager appWidgetManager,
int appWidgetId) |
static void |
isValidWidgetUpdate(Context context,
AppWidgetManager appWidgetManager,
int[] appWidgetIds) |
static void |
logDebug(java.lang.String msg)
Send a WARN log message.
|
static void |
logError(java.lang.String msg)
Send an ERROR log message.
|
static void |
logWarn(java.lang.String msg)
Send a WARN log message.
|
public static void isValidActivity(Activity activity) throws MobirooDrmInspector.MobirooStoreNotFoundException, MobirooDrmInspector.MobirooException
activity
- the application activityMobirooDrmInspector.MobirooException
- throws MobirooDrmInspector.MobirooException
when the DRM library fails to loadMobirooDrmInspector.MobirooStoreNotFoundException
public static void isValidWidgetUpdate(Context context, AppWidgetManager appWidgetManager, int appWidgetId) throws MobirooDrmInspector.MobirooStoreNotFoundException, MobirooDrmInspector.MobirooException
context
- The Context in which this receiver is running.appWidgetManager
- A AppWidgetManager object you can call AppWidgetManager.updateAppWidget on.appWidgetIds
- The appWidgetId for which an update is needed.MobirooDrmInspector.MobirooException
- MobirooDrmInspector.MobirooException
when the DRM library fails to loadMobirooDrmInspector.MobirooStoreNotFoundException
public static void isValidWidgetUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) throws MobirooDrmInspector.MobirooStoreNotFoundException, MobirooDrmInspector.MobirooException
context
- The Context in which this receiver is running.appWidgetManager
- A AppWidgetManager object you can call AppWidgetManager.updateAppWidget on.appWidgetIds
- The appWidgetIds for which an update is needed. Note that this may be all of the AppWidget instances for this provider, or just a subset of them.MobirooDrmInspector.MobirooException
- MobirooDrmInspector.MobirooException
when the DRM library fails to loadMobirooDrmInspector.MobirooStoreNotFoundException
public static void isValidContext(Context context) throws MobirooDrmInspector.MobirooStoreNotFoundException, MobirooDrmInspector.MobirooException
context
- the context to be validatedMobirooDrmInspector.MobirooException
- MobirooDrmInspector.MobirooException
when the DRM library fails to loadMobirooDrmInspector.MobirooStoreNotFoundException
public static void isValidService(Context context) throws MobirooDrmInspector.MobirooStoreNotFoundException, MobirooDrmInspector.MobirooException
context
- the service context to be validatedMobirooDrmInspector.MobirooException
- MobirooDrmInspector.MobirooException
when the DRM library fails to loadMobirooDrmInspector.MobirooStoreNotFoundException
public static void logDebug(java.lang.String msg)
msg
- The message you would like logged.public static void logError(java.lang.String msg)
msg
- The message you would like logged.public static void logWarn(java.lang.String msg)
msg
- The message you would like logged.public static boolean isDebugLog()