Manipulate Status Indication; Notification Settings - CipherLab RK25 User Manual

Android programming
Hide thumbs Also See for RK25:
Table of Contents

Advertisement

Android Programming Guide

1.4. MANIPULATE STATUS INDICATION

The device auto-signals the receipt of a successful decoding by a sound or vibration
according to NotificationParams() settings. Before calling Set_xxx functions, users are
supposed to call Get_xxx functions to retrieve the current reader service settings.

1.4.1. NOTIFICATION SETTINGS

Get_NotificationParams
Purpose
Gets notification settings.
ClResult Get_NotificationParams (NotificationParams settings)
Syntax
Parameters
A default value comes with an asterisk "*".
BeepType ReaderBeep
[in][out] A value that specifies the sound to play.
Enable_State enableVibrator
[in][out] A value that specifies whether to vibrate for a successful reading.
int vibrationCounter
[in][out] A value that specifies how long to vibrate.
int ledDuration
[in][out] A value that specifies whether to light the LED indicator for a successful
reading.
Example
NotificationParams settings = new NotificationParams();
mReaderManager.Get_NotificationParams(settings);
24
BeepType.Mute
BeepType.Default
BeepType.Hwandsw
BeepType.MenuPop
BeepType.MsgBox
BeepType.Notify
BeepType.VoiceBeep
BeepType.Alarm2
BeepType.Alarm3
BeepType.LowBatt
Enable_State.FALSE Disables Vibrator*
Enable_State.TRUE
0
No vibration
1 ~ 10
*1 (in increments of 0.5 seconds)
0
*Disables
1 ~ 5000
Enables LED and sets lighting duration (millisecond)
Enables Vibrator

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the RK25 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents