net.rim.device.api.system
Class ServiceMode
java.lang.Object
  
net.rim.device.api.system.ServiceMode
public final class ServiceMode
- extends Object
 
The ServiceMode class is container of service-related information used describe a given "service mode".
 A service mode is defined within the context of an application and describes the service to which data that it
 manages is associated with.
- Since:
 - BlackBerry API 7.0.0
 
| 
Constructor Summary | 
ServiceMode(String serviceUid)
 
          Create a new container for a service mode. | 
 
 
 
ServiceMode
public ServiceMode(String serviceUid)
- Create a new container for a service mode.
- Parameters:
 serviceUid - the service UID of this service mode; cannot be null
- Throws:
 IllegalArgumentException - if serviceUid is null or is empty- Since:
 - BlackBerry API 7.0.0
 
 
getServiceUid
public String getServiceUid()
- Get the service UID of this service mode.
- Returns:
 - the service UID of this service mode
 - Since:
 - BlackBerry API 7.0.0
 
 
 
Copyright 1999-2011 Research In Motion Limited.  295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8.  All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal