Added definitions for the ways in which VoiceIME can be started.

This is for logging purposes. The three values BUTTON, SWIPE
and MOTION replace the boolean SWIPE parameter.

Change-Id: I3e8a275e2608781305e97851a797b18ccd3c68cd
This commit is contained in:
David Ingram 2010-05-06 13:51:34 +01:00
parent dac850dcf9
commit 9d50e4f4b2

View File

@ -110,6 +110,11 @@ public class LoggingEvents {
public static final int START = 14;
public static final String EXTRA_START_LOCALE = "locale"; // value should be String
public static final String EXTRA_START_SWIPE = "swipe"; // value should be boolean
// EXTRA_START_SWIPE is deprecated; switch to EXTRA_START_METHOD instead
public static final String EXTRA_START_METHOD = "method"; // value should be int below
public static final int START_METHOD_BUTTON = 1;
public static final int START_METHOD_SWIPE = 2;
public static final int START_METHOD_MOTION = 3;
public static final int VOICE_INPUT_DELIVERED = 15;