public class

LiveLockScreenManager

extends Object
java.lang.Object
   ↳ cyanogenmod.app.LiveLockScreenManager

Class Overview

Manages enabling/disabling Live lock screens as well as what Live lock screen to display when enabled.

Summary

Constants
String SERVICE_INTERFACE The Intent that must be declared as handled by the service.
Public Methods
void cancel(int id)
Cancels a previously shown Live lock screen.
LiveLockScreenInfo getDefaultLiveLockScreen()
Gets the default Live lock screen that is displayed when no other Live lock screens are queued up for display.
static LiveLockScreenManager getInstance(Context context)
void setDefaultLiveLockScreen(LiveLockScreenInfo llsInfo)
Sets the default Live lock screen to display when no other Live lock screens are queued up for display.
boolean show(int id, LiveLockScreenInfo llsInfo)
Requests a Live lock screen, defined in , to be displayed with the given id.
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String SERVICE_INTERFACE

Added in API level 5

The Intent that must be declared as handled by the service.

Constant Value: "cyanogenmod.app.LiveLockScreenManagerService"

Public Methods

public void cancel (int id)

Added in API level 5

Cancels a previously shown Live lock screen.

Parameters
id An identifier for this notification unique within your application.

public LiveLockScreenInfo getDefaultLiveLockScreen ()

Added in API level 5

Gets the default Live lock screen that is displayed when no other Live lock screens are queued up for display.

This is not available to third party applications.

public static LiveLockScreenManager getInstance (Context context)

Added in API level 5

public void setDefaultLiveLockScreen (LiveLockScreenInfo llsInfo)

Added in API level 5

Sets the default Live lock screen to display when no other Live lock screens are queued up for display.

This is not available to third party applications.

public boolean show (int id, LiveLockScreenInfo llsInfo)

Added in API level 5

Requests a Live lock screen, defined in , to be displayed with the given id.

Parameters
id An identifier for this notification unique within your application.
llsInfo A LiveLockScreenInfo object describing what Live lock screen to show the user.
Returns
  • True if the Live lock screen was successfully received by the backing service