net.rim.blackberry.api.profiles
Class LedAlert

java.lang.Object
  extended by net.rim.blackberry.api.profiles.NotificationAlert
      extended by net.rim.blackberry.api.profiles.LedAlert

public class LedAlert
extends NotificationAlert

Represents LED alert properties.

Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 7.1.0

Constructor Summary
Category: Signed LedAlert()
          Empty constructor for LedAlert
 
Method Summary
Category: Signed  boolean isEnabled()
          Indicates whether LED alert is enabled.
Category: Signed  boolean isEnabledInherited()
          Indicates whether the enabled property for LED alert is inherited.
Category: Signed  void setEnabled(boolean enabled)
          Enables or disables LED alert.
Category: Signed  void setEnabledInherited(boolean enabledInherited)
          Sets whether the enabled property for LED alert is inherited.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 



Constructor Detail

LedAlert

public LedAlert()
Empty constructor for LedAlert

Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 7.1.0


Method Detail

isEnabled

public boolean isEnabled()
Indicates whether LED alert is enabled.

Specified by:
isEnabled in class NotificationAlert
Returns:
true if LED alert is enabled, false otherwise.
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 7.1.0

setEnabled

public void setEnabled(boolean enabled)
Enables or disables LED alert.

Parameters:
enabled - If true LED alert is enabled, if false LED alert is disabled.
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 7.1.0

isEnabledInherited

public boolean isEnabledInherited()
Indicates whether the enabled property for LED alert is inherited.

Returns:
true if the enabled property is inherited, false otherwise.
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 7.1.0

setEnabledInherited

public void setEnabledInherited(boolean enabledInherited)
Sets whether the enabled property for LED alert is inherited.

Parameters:
enabledInherited - If true the enabled property is inherited, if false the enabled property is not inherited.
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 7.1.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