SHOW Signed

net.rim.device.api.system
Interface PeripheralListener


public interface PeripheralListener

The listener interface for receiving peripheral events.

Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.


Field Summary
 Category: Signed static int TYPE_CAR_CHARGER
          RIM car charger peripheral
 Category: Signed static int TYPE_CRADLE
          RIM cradle peripheral
 Category: Signed static int TYPE_NONE
          No peripheral
 Category: Signed static int TYPE_TRAVEL_CHARGER
          RIM travel charger peripheral
 Category: Signed static int TYPE_UNKNOWN
          Unknown type
 Category: Signed static int TYPE_USER
          Third party peripheral
 
Method Summary
 Category: Signed  void peripheralChange(int type)
          Invoked when the state of the peripheral port changes.
 

Field Detail

TYPE_UNKNOWN

public static final int TYPE_UNKNOWN
Unknown type
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

TYPE_USER

public static final int TYPE_USER
Third party peripheral
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

TYPE_CAR_CHARGER

public static final int TYPE_CAR_CHARGER
RIM car charger peripheral
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

TYPE_CRADLE

public static final int TYPE_CRADLE
RIM cradle peripheral
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

TYPE_NONE

public static final int TYPE_NONE
No peripheral
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

TYPE_TRAVEL_CHARGER

public static final int TYPE_TRAVEL_CHARGER
RIM travel charger peripheral
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.
Method Detail

peripheralChange

public void peripheralChange(int type)
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 currently attached.
Since:
JDE 3.6
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.


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