net.rim.device.api.system
Interface PeripheralListener

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.

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.