Motorola SYMBOL MINISCAN MSXX04 Guía de usuario Pagina 84

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 278
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 83
Chapter 9: Card Slots
Controlling Power to the Card Slots
Psion Mobile Devices Developers Guide
72
Querying the Power State
When the power state of a card slot is queried, the result is interpreted as follows:
PowerState_Off — returned when there is no card in the card slot, or when there is a card in the slot
and the card slot is powered down.
PowerState_On — returned when there is a card in the slot and the card slot is powered on.
PowerState_Unknown — returned when the power state of the slot cannot be determined.
Changing the Power State
When a slot is in PowerState_On, it is powered down by one of the following:
Using the SDK method for setting the power state.
•Through the GUI.
When a slot is in PowerState_Off, it is powered up by one of the following:
Using the SDK method for setting the power state.
•Through the GUI.
Performing a clean start of the Windows operating system (see Chapter 4: “Reset”).
Events
If there is a card in the card slot when the power state is changed, the following events are generated:
Changing the state from PowerState_On to PowerState_Off generates a card removal event.
Changing the state from PowerState_Off to PowerState_On generates a card insertion event.
While the card slot is in PowerState_On, the following events occur:
Inserting a card generates a card insertion event.
Removing a card generated a card removal event.
While the slot is in PowerState_Off, no card insertion or card removal events are generated.
9.1.2 Getting Started with Card Slots
For articles on Ingenuity Working that will guide you in getting started with working with card slots see:
community.psion.com/tags/card slots/noteDG
9.1.3 Code Samples for Card Slots
For postings on Ingenuity Working that contain code samples that control card slots see:
community.psion.com/tags/card slots/codeDG
9.1.4 Card Slot Control API Elements
C++: The card slots on all Psion computers are controlled using the
PsionTeklogix::Peripherals namespace.
Java: The card slots on all Psion computers are controlled using the Peripherals class in the
com.teklogix.system package.
.NET: The card slots on all Psion computers are controlled using the
PsionTeklogix.Peripherals namespace.
Vista de pagina 83
1 2 ... 79 80 81 82 83 84 85 86 87 88 89 ... 277 278

Comentarios a estos manuales

Sin comentarios