de.unikassel.android.sdcframework.app.facade
Interface SDCService

Package class diagram package SDCService
All Superinterfaces:
ComponentCallbacks
All Known Implementing Classes:
AbstractSDCServiceImpl, SDCServiceImpl

public interface SDCService
extends ComponentCallbacks


Field Summary
static String ACTION
          Out custom service intent action
static String INTENT_NAME_RUNNING_FLAG
          The name for the intent extra holding the running flag
 
Method Summary
 Context getApplicationContext()
          Getter for the application context.
 Class<? extends Activity> getControlActivityClass()
          Getter for the class of the control activity to start on selection of service notification.
 PowerManager getPowerManager()
          Getter for the service context power manager
 ServiceManager getServiceManager()
          Getter for the service manager
 void setServiceManager(ServiceManager serviceManager)
          Setter for the service manager
 void stopSelf()
          Method to signal the service to stop itself.
 
Methods inherited from interface android.content.ComponentCallbacks
onConfigurationChanged, onLowMemory
 

Field Detail

ACTION

static final String ACTION
Out custom service intent action

See Also:
Constant Field Values

INTENT_NAME_RUNNING_FLAG

static final String INTENT_NAME_RUNNING_FLAG
The name for the intent extra holding the running flag

See Also:
Constant Field Values
Method Detail

getServiceManager

ServiceManager getServiceManager()
Getter for the service manager

Returns:
the service manager

setServiceManager

void setServiceManager(ServiceManager serviceManager)
Setter for the service manager

Parameters:
serviceManager - the service manager to set

getPowerManager

PowerManager getPowerManager()
Getter for the service context power manager

Returns:
the power manager in this context

getControlActivityClass

Class<? extends Activity> getControlActivityClass()
Getter for the class of the control activity to start on selection of service notification.

Returns:
the class of the control activity for the service

stopSelf

void stopSelf()
Method to signal the service to stop itself.


getApplicationContext

Context getApplicationContext()
Getter for the application context.

Returns:
the application context of the service