Поделиться через


PHONELAMPMODE (Compact 2013)

3/26/2014

These bit-flag constants describe various ways in which a phone's lamp can be lit.

The following table shows the PHONELAMPMODE constants.

Value

Description

PHONELAMPMODE_DUMMY = 0x00000001

This value is used to describe a button/lamp position that has no corresponding lamp.

PHONELAMPMODE_BROKENFLUTTER = 0x00000040

Broken flutter is the superposition of flash and flutter.

PHONELAMPMODE_FLASH = 0x00000010

Flash means slow on and off.

PHONELAMPMODE_FLUTTER = 0x00000020

Flutter means fast on and off.

PHONELAMPMODE_OFF = 0x00000002

The lamp is off.

PHONELAMPMODE_STEADY = 0x00000004

Steady means the lamp is continuously lit.

PHONELAMPMODE_UNKNOWN = 0x00000080

The lamp mode is currently unknown.

PHONELAMPMODE_WINK = 0x00000008

Wink means normal rate on and off.

Remarks

The high-order 16 bits can be assigned for device-specific extensions. The low-order 16 bits are reserved.

Where the exact on and off cadences can differ across phone sets from different vendors, mapping of actual lamp lighting patterns for most phones onto the values listed above should be straightforward.

Requirements

Header

tapi.h

See Also

Reference

TAPI Constants