SHOW Signed
 

net.rim.device.api.system
Interface PeripheralListener


public interface PeripheralListener

The listener interface for receiving peripheral events.

Peripherals, such as the travel charger, are used to extend the functionality of the BlackBerry.

Note this API is only supported on 857/957 and 5810/5820 handhelds.

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:
JDE 3.6.0

Field Summary
 Category: Signed static int TYPE_CAR_CHARGER
          Deprecated. 
 Category: Signed static int TYPE_CRADLE
          Deprecated. 
 Category: Signed static int TYPE_NONE
          Deprecated. 
 Category: Signed static int TYPE_TRAVEL_CHARGER
          Deprecated. 
 Category: Signed static int TYPE_UNKNOWN
          Deprecated. 
 Category: Signed static int TYPE_USER
          Deprecated. 
 
Method Summary
 Category: Signed  void peripheralChange(int type)
          Deprecated. 
 

Field Detail

TYPE_CAR_CHARGER

public static final int TYPE_CAR_CHARGER
Deprecated. 
Indicates that the RIM car charger peripheral is attached to the device.
Since:
JDE 3.6.0
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.

TYPE_CRADLE

public static final int TYPE_CRADLE
Deprecated. 
Indicates that device is attached to the cradle.
Since:
JDE 3.6.0
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.

TYPE_NONE

public static final int TYPE_NONE
Deprecated. 
Indicates that no peripheral is found.
Since:
JDE 3.6.0
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.

TYPE_TRAVEL_CHARGER

public static final int TYPE_TRAVEL_CHARGER
Deprecated. 
Indicates that the RIM travel charger peripheral is attached to the device.
Since:
JDE 3.6.0
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.

TYPE_UNKNOWN

public static final int TYPE_UNKNOWN
Deprecated. 
Indicates that the attached peripheral is of an unknown type.
Since:
JDE 3.6.0
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.

TYPE_USER

public static final int TYPE_USER
Deprecated. 
Indicates that a recognized third party peripheral is attached to the device.
Since:
JDE 3.6.0
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.
Method Detail

peripheralChange

public void peripheralChange(int type)
Deprecated. 
Invoked when the state of the peripheral port changes.

Parameters:
type - Current type of peripheral attached to the device, or TYPE_NONE if no peripheral is currently attached. Any one of the above values are valid.
Since:
JDE 3.6.0
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.



Copyright 1999-2008 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.