This repository has been archived by the owner on May 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
/
KeyEvent.xml
4882 lines (4881 loc) · 306 KB
/
KeyEvent.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<Type Name="KeyEvent" FullName="Android.Views.KeyEvent">
<TypeSignature Language="C#" Value="public class KeyEvent : Android.Views.InputEvent, IDisposable, Java.Interop.IJavaPeerable" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit KeyEvent extends Android.Views.InputEvent implements class Android.OS.IParcelable, class Android.Runtime.IJavaObject, class Java.Interop.IJavaPeerable, class System.IDisposable" />
<TypeSignature Language="DocId" Value="T:Android.Views.KeyEvent" />
<TypeSignature Language="F#" Value="type KeyEvent = class
 inherit InputEvent
 interface IParcelable
 interface IJavaObject
 interface IDisposable
 interface IJavaPeerable" />
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>Android.Views.InputEvent</BaseTypeName>
</Base>
<Interfaces>
<Interface>
<InterfaceName>Android.OS.IParcelable</InterfaceName>
</Interface>
<Interface>
<InterfaceName>Android.Runtime.IJavaObject</InterfaceName>
</Interface>
<Interface>
<InterfaceName>Java.Interop.IJavaPeerable</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.IDisposable</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("android/view/KeyEvent", DoNotGenerateAcw=true)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("android/view/KeyEvent", DoNotGenerateAcw=true)>]</AttributeName>
</Attribute>
</Attributes>
<Docs since="1">
<summary>Object used to report key and button events.</summary>
<remarks>
<para>Object used to report key and button events.</para>
<para>Each key press is described by a sequence of key events. A key press
starts with a key event with <c>#ACTION_DOWN</c>. If the key is held
sufficiently long that it repeats, then the initial down is followed
additional key events with <c>#ACTION_DOWN</c> and a non-zero value for
<c>#getRepeatCount()</c>. The last key event is a <c>#ACTION_UP</c>
for the key up. If the key press is canceled, the key up event will have the
<c>#FLAG_CANCELED</c> flag set.</para>
<para>Key events are generally accompanied by a key code (<c>#getKeyCode()</c>),
scan code (<c>#getScanCode()</c>) and meta state (<c>#getMetaState()</c>).
Key code constants are defined in this class. Scan code constants are raw
device-specific codes obtained from the OS and so are not generally meaningful
to applications unless interpreted using the <c>KeyCharacterMap</c>.
Meta states describe the pressed state of key modifiers
such as <c>#META_SHIFT_ON</c> or <c>#META_ALT_ON</c>.</para>
<para>Key codes typically correspond one-to-one with individual keys on an input device.
Many keys and key combinations serve quite different functions on different
input devices so care must be taken when interpreting them. Always use the
<c>KeyCharacterMap</c> associated with the input device when mapping keys
to characters. Be aware that there may be multiple key input devices active
at the same time and each will have its own key character map.</para>
<para>As soft input methods can use multiple and inventive ways of inputting text,
there is no guarantee that any key press on a soft keyboard will generate a key
event: this is left to the IME's discretion, and in fact sending such events is
discouraged. You should never rely on receiving KeyEvents for any key on a soft
input method. In particular, the default software keyboard will never send any
key event to any application targetting Jelly Bean or later, and will only send
events for some presses of the delete and return keys to applications targetting
Ice Cream Sandwich or earlier. Be aware that other software input methods may
never send key events regardless of the version. Consider using editor actions
like <c>android.view.inputmethod.EditorInfo#IME_ACTION_DONE</c> if you need
specific interaction with the software keyboard, as it gives more visibility to
the user as to how your application will react to key presses.</para>
<para>When interacting with an IME, the framework may deliver key events
with the special action <c>#ACTION_MULTIPLE</c> that either specifies
that single repeated key code or a sequence of characters to insert.</para>
<para>In general, the framework cannot guarantee that the key events it delivers
to a view always constitute complete key sequences since some events may be dropped
or modified by containing views before they are delivered. The view implementation
should be prepared to handle <c>#FLAG_CANCELED</c> and should tolerate anomalous
situations such as receiving a new <c>#ACTION_DOWN</c> without first having
received an <c>#ACTION_UP</c> for the prior key press.</para>
<para>Refer to <c>InputDevice</c> for more information about how different kinds of
input devices and sources represent keys and buttons.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/view/KeyEvent" title="Reference documentation">Java documentation for <code>android.view.KeyEvent</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public KeyEvent (Android.Views.KeyEvent? origEvent);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class Android.Views.KeyEvent origEvent) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Views.KeyEvent.#ctor(Android.Views.KeyEvent)" />
<MemberSignature Language="F#" Value="new Android.Views.KeyEvent : Android.Views.KeyEvent -> Android.Views.KeyEvent" Usage="new Android.Views.KeyEvent origEvent" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register(".ctor", "(Landroid/view/KeyEvent;)V", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register(".ctor", "(Landroid/view/KeyEvent;)V", "")>]</AttributeName>
</Attribute>
</Attributes>
<Parameters>
<Parameter Name="origEvent" Type="Android.Views.KeyEvent" />
</Parameters>
<Docs>
<param name="origEvent">To be added.</param>
<summary>Make an exact copy of an existing key event.</summary>
<remarks>
<para>Make an exact copy of an existing key event.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/view/KeyEvent#KeyEvent(android.view.KeyEvent)" title="Reference documentation">Java documentation for <code>android.view.KeyEvent.KeyEvent(android.view.KeyEvent)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 3" />
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public KeyEvent (Android.Views.KeyEventActions action, Android.Views.Keycode code);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(valuetype Android.Views.KeyEventActions action, valuetype Android.Views.Keycode code) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Views.KeyEvent.#ctor(Android.Views.KeyEventActions,Android.Views.Keycode)" />
<MemberSignature Language="F#" Value="new Android.Views.KeyEvent : Android.Views.KeyEventActions * Android.Views.Keycode -> Android.Views.KeyEvent" Usage="new Android.Views.KeyEvent (action, code)" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register(".ctor", "(II)V", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register(".ctor", "(II)V", "")>]</AttributeName>
</Attribute>
</Attributes>
<Parameters>
<Parameter Name="action" Type="Android.Views.KeyEventActions">
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.GeneratedEnum]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.GeneratedEnum>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
<Parameter Name="code" Type="Android.Views.Keycode">
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.GeneratedEnum]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.GeneratedEnum>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="action">Action code: either <c>#ACTION_DOWN</c>,
<c>#ACTION_UP</c>, or <c>#ACTION_MULTIPLE</c>.</param>
<param name="code">The key code.</param>
<summary>Create a new key event.</summary>
<remarks>
<para>Create a new key event.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/view/KeyEvent#KeyEvent(int,%20int)" title="Reference documentation">Java documentation for <code>android.view.KeyEvent.KeyEvent(int, int)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected KeyEvent (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor(native int javaReference, valuetype Android.Runtime.JniHandleOwnership transfer) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Views.KeyEvent.#ctor(System.IntPtr,Android.Runtime.JniHandleOwnership)" />
<MemberSignature Language="F#" Value="new Android.Views.KeyEvent : nativeint * Android.Runtime.JniHandleOwnership -> Android.Views.KeyEvent" Usage="new Android.Views.KeyEvent (javaReference, transfer)" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="javaReference" Type="System.IntPtr" />
<Parameter Name="transfer" Type="Android.Runtime.JniHandleOwnership" />
</Parameters>
<Docs>
<param name="javaReference">A <see cref="T:System.IntPtr" />containing a Java Native Interface (JNI) object reference.</param>
<param name="transfer">A <see cref="T:Android.Runtime.JniHandleOwnership" />indicating how to handle <paramref name="javaReference" /></param>
<summary>A constructor used when creating managed representations of JNI objects; called by the runtime.</summary>
<remarks>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public KeyEvent (Android.Views.KeyEvent? origEvent, long eventTime, int newRepeat);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class Android.Views.KeyEvent origEvent, int64 eventTime, int32 newRepeat) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Views.KeyEvent.#ctor(Android.Views.KeyEvent,System.Int64,System.Int32)" />
<MemberSignature Language="F#" Value="new Android.Views.KeyEvent : Android.Views.KeyEvent * int64 * int -> Android.Views.KeyEvent" Usage="new Android.Views.KeyEvent (origEvent, eventTime, newRepeat)" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register(".ctor", "(Landroid/view/KeyEvent;JI)V", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register(".ctor", "(Landroid/view/KeyEvent;JI)V", "")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Obsolete("deprecated")]</AttributeName>
<AttributeName Language="F#">[<System.Obsolete("deprecated")>]</AttributeName>
</Attribute>
</Attributes>
<Parameters>
<Parameter Name="origEvent" Type="Android.Views.KeyEvent" />
<Parameter Name="eventTime" Type="System.Int64" />
<Parameter Name="newRepeat" Type="System.Int32" />
</Parameters>
<Docs>
<param name="origEvent">The existing event to be copied.</param>
<param name="eventTime">The new event time
(in <c>android.os.SystemClock#uptimeMillis</c>) of the event.</param>
<param name="newRepeat">The new repeat count of the event.</param>
<summary>Copy an existing key event, modifying its time and repeat count.</summary>
<remarks>
<para>Copy an existing key event, modifying its time and repeat count.</para>
<para>This member is deprecated. Use <c>#changeTimeRepeat(KeyEvent, long, int)</c>
instead.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/view/KeyEvent#KeyEvent(android.view.KeyEvent,%20long,%20int)" title="Reference documentation">Java documentation for <code>android.view.KeyEvent.KeyEvent(android.view.KeyEvent, long, int)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public KeyEvent (long time, string? characters, int deviceId, Android.Views.KeyEventFlags flags);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(int64 time, string characters, int32 deviceId, valuetype Android.Views.KeyEventFlags flags) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Views.KeyEvent.#ctor(System.Int64,System.String,System.Int32,Android.Views.KeyEventFlags)" />
<MemberSignature Language="F#" Value="new Android.Views.KeyEvent : int64 * string * int * Android.Views.KeyEventFlags -> Android.Views.KeyEvent" Usage="new Android.Views.KeyEvent (time, characters, deviceId, flags)" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register(".ctor", "(JLjava/lang/String;II)V", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register(".ctor", "(JLjava/lang/String;II)V", "")>]</AttributeName>
</Attribute>
</Attributes>
<Parameters>
<Parameter Name="time" Type="System.Int64" />
<Parameter Name="characters" Type="System.String" />
<Parameter Name="deviceId" Type="System.Int32" />
<Parameter Name="flags" Type="Android.Views.KeyEventFlags">
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.GeneratedEnum]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.GeneratedEnum>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="time">The time (in <c>android.os.SystemClock#uptimeMillis</c>)
at which this event occured.</param>
<param name="characters">The string of characters.</param>
<param name="deviceId">The device ID that generated the key event.</param>
<param name="flags">The flags for this key event</param>
<summary>Create a new key event for a string of characters.</summary>
<remarks>
<para>Create a new key event for a string of characters. The key code,
action, repeat count and source will automatically be set to
<c>#KEYCODE_UNKNOWN</c>, <c>#ACTION_MULTIPLE</c>, 0, and
<c>InputDevice#SOURCE_KEYBOARD</c> for you.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/view/KeyEvent#KeyEvent(long,%20java.lang.String,%20int,%20int)" title="Reference documentation">Java documentation for <code>android.view.KeyEvent.KeyEvent(long, java.lang.String, int, int)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 3" />
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public KeyEvent (long downTime, long eventTime, Android.Views.KeyEventActions action, Android.Views.Keycode code, int repeat);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(int64 downTime, int64 eventTime, valuetype Android.Views.KeyEventActions action, valuetype Android.Views.Keycode code, int32 repeat) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Views.KeyEvent.#ctor(System.Int64,System.Int64,Android.Views.KeyEventActions,Android.Views.Keycode,System.Int32)" />
<MemberSignature Language="F#" Value="new Android.Views.KeyEvent : int64 * int64 * Android.Views.KeyEventActions * Android.Views.Keycode * int -> Android.Views.KeyEvent" Usage="new Android.Views.KeyEvent (downTime, eventTime, action, code, repeat)" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register(".ctor", "(JJIII)V", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register(".ctor", "(JJIII)V", "")>]</AttributeName>
</Attribute>
</Attributes>
<Parameters>
<Parameter Name="downTime" Type="System.Int64" />
<Parameter Name="eventTime" Type="System.Int64" />
<Parameter Name="action" Type="Android.Views.KeyEventActions">
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.GeneratedEnum]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.GeneratedEnum>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
<Parameter Name="code" Type="Android.Views.Keycode">
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.GeneratedEnum]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.GeneratedEnum>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
<Parameter Name="repeat" Type="System.Int32" />
</Parameters>
<Docs>
<param name="downTime">The time (in <c>android.os.SystemClock#uptimeMillis</c>)
at which this key code originally went down.</param>
<param name="eventTime">The time (in <c>android.os.SystemClock#uptimeMillis</c>)
at which this event happened.</param>
<param name="action">Action code: either <c>#ACTION_DOWN</c>,
<c>#ACTION_UP</c>, or <c>#ACTION_MULTIPLE</c>.</param>
<param name="code">The key code.</param>
<param name="repeat">A repeat count for down events (> 0 if this is after the
initial down) or event count for multiple events.</param>
<summary>Create a new key event.</summary>
<remarks>
<para>Create a new key event.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/view/KeyEvent#KeyEvent(long,%20long,%20int,%20int,%20int)" title="Reference documentation">Java documentation for <code>android.view.KeyEvent.KeyEvent(long, long, int, int, int)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public KeyEvent (long downTime, long eventTime, Android.Views.KeyEventActions action, Android.Views.Keycode code, int repeat, Android.Views.MetaKeyStates metaState);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(int64 downTime, int64 eventTime, valuetype Android.Views.KeyEventActions action, valuetype Android.Views.Keycode code, int32 repeat, valuetype Android.Views.MetaKeyStates metaState) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Views.KeyEvent.#ctor(System.Int64,System.Int64,Android.Views.KeyEventActions,Android.Views.Keycode,System.Int32,Android.Views.MetaKeyStates)" />
<MemberSignature Language="F#" Value="new Android.Views.KeyEvent : int64 * int64 * Android.Views.KeyEventActions * Android.Views.Keycode * int * Android.Views.MetaKeyStates -> Android.Views.KeyEvent" Usage="new Android.Views.KeyEvent (downTime, eventTime, action, code, repeat, metaState)" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register(".ctor", "(JJIIII)V", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register(".ctor", "(JJIIII)V", "")>]</AttributeName>
</Attribute>
</Attributes>
<Parameters>
<Parameter Name="downTime" Type="System.Int64" />
<Parameter Name="eventTime" Type="System.Int64" />
<Parameter Name="action" Type="Android.Views.KeyEventActions">
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.GeneratedEnum]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.GeneratedEnum>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
<Parameter Name="code" Type="Android.Views.Keycode">
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.GeneratedEnum]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.GeneratedEnum>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
<Parameter Name="repeat" Type="System.Int32" />
<Parameter Name="metaState" Type="Android.Views.MetaKeyStates">
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.GeneratedEnum]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.GeneratedEnum>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="downTime">The time (in <c>android.os.SystemClock#uptimeMillis</c>)
at which this key code originally went down.</param>
<param name="eventTime">The time (in <c>android.os.SystemClock#uptimeMillis</c>)
at which this event happened.</param>
<param name="action">Action code: either <c>#ACTION_DOWN</c>,
<c>#ACTION_UP</c>, or <c>#ACTION_MULTIPLE</c>.</param>
<param name="code">The key code.</param>
<param name="repeat">A repeat count for down events (> 0 if this is after the
initial down) or event count for multiple events.</param>
<param name="metaState">Flags indicating which meta keys are currently pressed.</param>
<summary>Create a new key event.</summary>
<remarks>
<para>Create a new key event.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/view/KeyEvent#KeyEvent(long,%20long,%20int,%20int,%20int,%20int)" title="Reference documentation">Java documentation for <code>android.view.KeyEvent.KeyEvent(long, long, int, int, int, int)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public KeyEvent (long downTime, long eventTime, Android.Views.KeyEventActions action, Android.Views.Keycode code, int repeat, Android.Views.MetaKeyStates metaState, int deviceId, int scancode);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(int64 downTime, int64 eventTime, valuetype Android.Views.KeyEventActions action, valuetype Android.Views.Keycode code, int32 repeat, valuetype Android.Views.MetaKeyStates metaState, int32 deviceId, int32 scancode) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Views.KeyEvent.#ctor(System.Int64,System.Int64,Android.Views.KeyEventActions,Android.Views.Keycode,System.Int32,Android.Views.MetaKeyStates,System.Int32,System.Int32)" />
<MemberSignature Language="F#" Value="new Android.Views.KeyEvent : int64 * int64 * Android.Views.KeyEventActions * Android.Views.Keycode * int * Android.Views.MetaKeyStates * int * int -> Android.Views.KeyEvent" Usage="new Android.Views.KeyEvent (downTime, eventTime, action, code, repeat, metaState, deviceId, scancode)" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register(".ctor", "(JJIIIIII)V", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register(".ctor", "(JJIIIIII)V", "")>]</AttributeName>
</Attribute>
</Attributes>
<Parameters>
<Parameter Name="downTime" Type="System.Int64" />
<Parameter Name="eventTime" Type="System.Int64" />
<Parameter Name="action" Type="Android.Views.KeyEventActions">
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.GeneratedEnum]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.GeneratedEnum>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
<Parameter Name="code" Type="Android.Views.Keycode">
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.GeneratedEnum]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.GeneratedEnum>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
<Parameter Name="repeat" Type="System.Int32" />
<Parameter Name="metaState" Type="Android.Views.MetaKeyStates">
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.GeneratedEnum]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.GeneratedEnum>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
<Parameter Name="deviceId" Type="System.Int32" />
<Parameter Name="scancode" Type="System.Int32" />
</Parameters>
<Docs>
<param name="downTime">The time (in <c>android.os.SystemClock#uptimeMillis</c>)
at which this key code originally went down.</param>
<param name="eventTime">The time (in <c>android.os.SystemClock#uptimeMillis</c>)
at which this event happened.</param>
<param name="action">Action code: either <c>#ACTION_DOWN</c>,
<c>#ACTION_UP</c>, or <c>#ACTION_MULTIPLE</c>.</param>
<param name="code">The key code.</param>
<param name="repeat">A repeat count for down events (> 0 if this is after the
initial down) or event count for multiple events.</param>
<param name="metaState">Flags indicating which meta keys are currently pressed.</param>
<param name="deviceId">The device ID that generated the key event.</param>
<param name="scancode">Raw device scan code of the event.</param>
<summary>Create a new key event.</summary>
<remarks>
<para>Create a new key event.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/view/KeyEvent#KeyEvent(long,%20long,%20int,%20int,%20int,%20int,%20int,%20int)" title="Reference documentation">Java documentation for <code>android.view.KeyEvent.KeyEvent(long, long, int, int, int, int, int, int)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public KeyEvent (long downTime, long eventTime, Android.Views.KeyEventActions action, Android.Views.Keycode code, int repeat, Android.Views.MetaKeyStates metaState, int deviceId, int scancode, Android.Views.KeyEventFlags flags);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(int64 downTime, int64 eventTime, valuetype Android.Views.KeyEventActions action, valuetype Android.Views.Keycode code, int32 repeat, valuetype Android.Views.MetaKeyStates metaState, int32 deviceId, int32 scancode, valuetype Android.Views.KeyEventFlags flags) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Views.KeyEvent.#ctor(System.Int64,System.Int64,Android.Views.KeyEventActions,Android.Views.Keycode,System.Int32,Android.Views.MetaKeyStates,System.Int32,System.Int32,Android.Views.KeyEventFlags)" />
<MemberSignature Language="F#" Value="new Android.Views.KeyEvent : int64 * int64 * Android.Views.KeyEventActions * Android.Views.Keycode * int * Android.Views.MetaKeyStates * int * int * Android.Views.KeyEventFlags -> Android.Views.KeyEvent" Usage="new Android.Views.KeyEvent (downTime, eventTime, action, code, repeat, metaState, deviceId, scancode, flags)" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register(".ctor", "(JJIIIIIII)V", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register(".ctor", "(JJIIIIIII)V", "")>]</AttributeName>
</Attribute>
</Attributes>
<Parameters>
<Parameter Name="downTime" Type="System.Int64" />
<Parameter Name="eventTime" Type="System.Int64" />
<Parameter Name="action" Type="Android.Views.KeyEventActions">
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.GeneratedEnum]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.GeneratedEnum>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
<Parameter Name="code" Type="Android.Views.Keycode">
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.GeneratedEnum]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.GeneratedEnum>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
<Parameter Name="repeat" Type="System.Int32" />
<Parameter Name="metaState" Type="Android.Views.MetaKeyStates">
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.GeneratedEnum]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.GeneratedEnum>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
<Parameter Name="deviceId" Type="System.Int32" />
<Parameter Name="scancode" Type="System.Int32" />
<Parameter Name="flags" Type="Android.Views.KeyEventFlags">
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.GeneratedEnum]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.GeneratedEnum>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="downTime">The time (in <c>android.os.SystemClock#uptimeMillis</c>)
at which this key code originally went down.</param>
<param name="eventTime">The time (in <c>android.os.SystemClock#uptimeMillis</c>)
at which this event happened.</param>
<param name="action">Action code: either <c>#ACTION_DOWN</c>,
<c>#ACTION_UP</c>, or <c>#ACTION_MULTIPLE</c>.</param>
<param name="code">The key code.</param>
<param name="repeat">A repeat count for down events (> 0 if this is after the
initial down) or event count for multiple events.</param>
<param name="metaState">Flags indicating which meta keys are currently pressed.</param>
<param name="deviceId">The device ID that generated the key event.</param>
<param name="scancode">Raw device scan code of the event.</param>
<param name="flags">The flags for this key event</param>
<summary>Create a new key event.</summary>
<remarks>
<para>Create a new key event.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/view/KeyEvent#KeyEvent(long,%20long,%20int,%20int,%20int,%20int,%20int,%20int,%20int)" title="Reference documentation">Java documentation for <code>android.view.KeyEvent.KeyEvent(long, long, int, int, int, int, int, int, int)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public KeyEvent (long downTime, long eventTime, Android.Views.KeyEventActions action, Android.Views.Keycode code, int repeat, Android.Views.MetaKeyStates metaState, int deviceId, int scancode, Android.Views.KeyEventFlags flags, Android.Views.InputSourceType source);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(int64 downTime, int64 eventTime, valuetype Android.Views.KeyEventActions action, valuetype Android.Views.Keycode code, int32 repeat, valuetype Android.Views.MetaKeyStates metaState, int32 deviceId, int32 scancode, valuetype Android.Views.KeyEventFlags flags, valuetype Android.Views.InputSourceType source) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Views.KeyEvent.#ctor(System.Int64,System.Int64,Android.Views.KeyEventActions,Android.Views.Keycode,System.Int32,Android.Views.MetaKeyStates,System.Int32,System.Int32,Android.Views.KeyEventFlags,Android.Views.InputSourceType)" />
<MemberSignature Language="F#" Value="new Android.Views.KeyEvent : int64 * int64 * Android.Views.KeyEventActions * Android.Views.Keycode * int * Android.Views.MetaKeyStates * int * int * Android.Views.KeyEventFlags * Android.Views.InputSourceType -> Android.Views.KeyEvent" Usage="new Android.Views.KeyEvent (downTime, eventTime, action, code, repeat, metaState, deviceId, scancode, flags, source)" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register(".ctor", "(JJIIIIIIII)V", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register(".ctor", "(JJIIIIIIII)V", "")>]</AttributeName>
</Attribute>
</Attributes>
<Parameters>
<Parameter Name="downTime" Type="System.Int64" />
<Parameter Name="eventTime" Type="System.Int64" />
<Parameter Name="action" Type="Android.Views.KeyEventActions">
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.GeneratedEnum]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.GeneratedEnum>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
<Parameter Name="code" Type="Android.Views.Keycode">
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.GeneratedEnum]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.GeneratedEnum>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
<Parameter Name="repeat" Type="System.Int32" />
<Parameter Name="metaState" Type="Android.Views.MetaKeyStates">
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.GeneratedEnum]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.GeneratedEnum>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
<Parameter Name="deviceId" Type="System.Int32" />
<Parameter Name="scancode" Type="System.Int32" />
<Parameter Name="flags" Type="Android.Views.KeyEventFlags">
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.GeneratedEnum]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.GeneratedEnum>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
<Parameter Name="source" Type="Android.Views.InputSourceType">
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.GeneratedEnum]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.GeneratedEnum>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="downTime">The time (in <c>android.os.SystemClock#uptimeMillis</c>)
at which this key code originally went down.</param>
<param name="eventTime">The time (in <c>android.os.SystemClock#uptimeMillis</c>)
at which this event happened.</param>
<param name="action">Action code: either <c>#ACTION_DOWN</c>,
<c>#ACTION_UP</c>, or <c>#ACTION_MULTIPLE</c>.</param>
<param name="code">The key code.</param>
<param name="repeat">A repeat count for down events (> 0 if this is after the
initial down) or event count for multiple events.</param>
<param name="metaState">Flags indicating which meta keys are currently pressed.</param>
<param name="deviceId">The device ID that generated the key event.</param>
<param name="scancode">Raw device scan code of the event.</param>
<param name="flags">The flags for this key event</param>
<param name="source">The input source such as <c>InputDevice#SOURCE_KEYBOARD</c>.</param>
<summary>Create a new key event.</summary>
<remarks>
<para>Create a new key event.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/view/KeyEvent#KeyEvent(long,%20long,%20int,%20int,%20int,%20int,%20int,%20int,%20int,%20int)" title="Reference documentation">Java documentation for <code>android.view.KeyEvent.KeyEvent(long, long, int, int, int, int, int, int, int, int)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 9" />
</Docs>
</Member>
<Member MemberName="Action">
<MemberSignature Language="C#" Value="public Android.Views.KeyEventActions Action { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype Android.Views.KeyEventActions Action" />
<MemberSignature Language="DocId" Value="P:Android.Views.KeyEvent.Action" />
<MemberSignature Language="F#" Value="member this.Action : Android.Views.KeyEventActions" Usage="Android.Views.KeyEvent.Action" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getAction", "()I", "")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getAction", "()I", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Views.KeyEventActions</ReturnType>
</ReturnValue>
<Docs>
<summary>Retrieve the action of this key event.</summary>
<value>The event action: ACTION_DOWN, ACTION_UP, or ACTION_MULTIPLE.</value>
<remarks>
<para>Retrieve the action of this key event. May be either
<c>#ACTION_DOWN</c>, <c>#ACTION_UP</c>, or <c>#ACTION_MULTIPLE</c>.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/view/KeyEvent#getAction()" title="Reference documentation">Java documentation for <code>android.view.KeyEvent.getAction()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="ChangeAction">
<MemberSignature Language="C#" Value="public static Android.Views.KeyEvent? ChangeAction (Android.Views.KeyEvent? e, Android.Views.KeyEventActions action);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Android.Views.KeyEvent ChangeAction(class Android.Views.KeyEvent e, valuetype Android.Views.KeyEventActions action) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Views.KeyEvent.ChangeAction(Android.Views.KeyEvent,Android.Views.KeyEventActions)" />
<MemberSignature Language="F#" Value="static member ChangeAction : Android.Views.KeyEvent * Android.Views.KeyEventActions -> Android.Views.KeyEvent" Usage="Android.Views.KeyEvent.ChangeAction (e, action)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("changeAction", "(Landroid/view/KeyEvent;I)Landroid/view/KeyEvent;", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("changeAction", "(Landroid/view/KeyEvent;I)Landroid/view/KeyEvent;", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Views.KeyEvent</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="e" Type="Android.Views.KeyEvent" />
<Parameter Name="action" Type="Android.Views.KeyEventActions">
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.GeneratedEnum]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.GeneratedEnum>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="e">The existing event to be copied. This is not modified.</param>
<param name="event">The existing event to be copied. This is not modified.</param>
<param name="action">The new action code of the event.</param>
<summary>Create a new key event that is the same as the given one, but whose
action is replaced with the given value.</summary>
<returns>To be added.</returns>
<remarks>
<para>Create a new key event that is the same as the given one, but whose
action is replaced with the given value.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/view/KeyEvent#changeAction(android.view.KeyEvent,%20int)" title="Reference documentation">Java documentation for <code>android.view.KeyEvent.changeAction(android.view.KeyEvent, int)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 3" />
</Docs>
</Member>
<Member MemberName="ChangeFlags">
<MemberSignature Language="C#" Value="public static Android.Views.KeyEvent? ChangeFlags (Android.Views.KeyEvent? e, Android.Views.KeyEventFlags flags);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Android.Views.KeyEvent ChangeFlags(class Android.Views.KeyEvent e, valuetype Android.Views.KeyEventFlags flags) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Views.KeyEvent.ChangeFlags(Android.Views.KeyEvent,Android.Views.KeyEventFlags)" />
<MemberSignature Language="F#" Value="static member ChangeFlags : Android.Views.KeyEvent * Android.Views.KeyEventFlags -> Android.Views.KeyEvent" Usage="Android.Views.KeyEvent.ChangeFlags (e, flags)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("changeFlags", "(Landroid/view/KeyEvent;I)Landroid/view/KeyEvent;", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("changeFlags", "(Landroid/view/KeyEvent;I)Landroid/view/KeyEvent;", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Views.KeyEvent</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="e" Type="Android.Views.KeyEvent" />
<Parameter Name="flags" Type="Android.Views.KeyEventFlags">
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.GeneratedEnum]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.GeneratedEnum>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="e">The existing event to be copied. This is not modified.</param>
<param name="event">The existing event to be copied. This is not modified.</param>
<param name="flags">The new flags constant.</param>
<summary>Create a new key event that is the same as the given one, but whose
flags are replaced with the given value.</summary>
<returns>To be added.</returns>
<remarks>
<para>Create a new key event that is the same as the given one, but whose
flags are replaced with the given value.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/view/KeyEvent#changeFlags(android.view.KeyEvent,%20int)" title="Reference documentation">Java documentation for <code>android.view.KeyEvent.changeFlags(android.view.KeyEvent, int)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 3" />
</Docs>
</Member>
<Member MemberName="ChangeTimeRepeat">
<MemberSignature Language="C#" Value="public static Android.Views.KeyEvent? ChangeTimeRepeat (Android.Views.KeyEvent? e, long eventTime, int newRepeat);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Android.Views.KeyEvent ChangeTimeRepeat(class Android.Views.KeyEvent e, int64 eventTime, int32 newRepeat) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Views.KeyEvent.ChangeTimeRepeat(Android.Views.KeyEvent,System.Int64,System.Int32)" />
<MemberSignature Language="F#" Value="static member ChangeTimeRepeat : Android.Views.KeyEvent * int64 * int -> Android.Views.KeyEvent" Usage="Android.Views.KeyEvent.ChangeTimeRepeat (e, eventTime, newRepeat)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("changeTimeRepeat", "(Landroid/view/KeyEvent;JI)Landroid/view/KeyEvent;", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("changeTimeRepeat", "(Landroid/view/KeyEvent;JI)Landroid/view/KeyEvent;", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Views.KeyEvent</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="e" Type="Android.Views.KeyEvent" />
<Parameter Name="eventTime" Type="System.Int64" />
<Parameter Name="newRepeat" Type="System.Int32" />
</Parameters>
<Docs>
<param name="e">The existing event to be copied. This is not modified.</param>
<param name="event">The existing event to be copied. This is not modified.</param>
<param name="eventTime">The new event time
(in <c>android.os.SystemClock#uptimeMillis</c>) of the event.</param>
<param name="newRepeat">The new repeat count of the event.</param>
<summary>Create a new key event that is the same as the given one, but whose
event time and repeat count are replaced with the given value.</summary>
<returns>To be added.</returns>
<remarks>
<para>Create a new key event that is the same as the given one, but whose
event time and repeat count are replaced with the given value.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/view/KeyEvent#changeTimeRepeat(android.view.KeyEvent,%20long,%20int)" title="Reference documentation">Java documentation for <code>android.view.KeyEvent.changeTimeRepeat(android.view.KeyEvent, long, int)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 5" />
</Docs>
</Member>
<Member MemberName="ChangeTimeRepeat">
<MemberSignature Language="C#" Value="public static Android.Views.KeyEvent? ChangeTimeRepeat (Android.Views.KeyEvent? e, long eventTime, int newRepeat, Android.Views.KeyEventFlags newFlags);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Android.Views.KeyEvent ChangeTimeRepeat(class Android.Views.KeyEvent e, int64 eventTime, int32 newRepeat, valuetype Android.Views.KeyEventFlags newFlags) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Views.KeyEvent.ChangeTimeRepeat(Android.Views.KeyEvent,System.Int64,System.Int32,Android.Views.KeyEventFlags)" />
<MemberSignature Language="F#" Value="static member ChangeTimeRepeat : Android.Views.KeyEvent * int64 * int * Android.Views.KeyEventFlags -> Android.Views.KeyEvent" Usage="Android.Views.KeyEvent.ChangeTimeRepeat (e, eventTime, newRepeat, newFlags)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("changeTimeRepeat", "(Landroid/view/KeyEvent;JII)Landroid/view/KeyEvent;", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("changeTimeRepeat", "(Landroid/view/KeyEvent;JII)Landroid/view/KeyEvent;", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Views.KeyEvent</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="e" Type="Android.Views.KeyEvent" />
<Parameter Name="eventTime" Type="System.Int64" />
<Parameter Name="newRepeat" Type="System.Int32" />
<Parameter Name="newFlags" Type="Android.Views.KeyEventFlags">
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.GeneratedEnum]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.GeneratedEnum>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="e">The existing event to be copied. This is not modified.</param>
<param name="event">The existing event to be copied. This is not modified.</param>
<param name="eventTime">The new event time
(in <c>android.os.SystemClock#uptimeMillis</c>) of the event.</param>
<param name="newRepeat">The new repeat count of the event.</param>
<param name="newFlags">New flags for the event, replacing the entire value
in the original event.</param>
<summary>Create a new key event that is the same as the given one, but whose
event time and repeat count are replaced with the given value.</summary>
<returns>To be added.</returns>
<remarks>
<para>Create a new key event that is the same as the given one, but whose
event time and repeat count are replaced with the given value.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/view/KeyEvent#changeTimeRepeat(android.view.KeyEvent,%20long,%20int,%20int)" title="Reference documentation">Java documentation for <code>android.view.KeyEvent.changeTimeRepeat(android.view.KeyEvent, long, int, int)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 5" />
</Docs>
</Member>
<Member MemberName="Characters">
<MemberSignature Language="C#" Value="public string? Characters { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance string Characters" />
<MemberSignature Language="DocId" Value="P:Android.Views.KeyEvent.Characters" />
<MemberSignature Language="F#" Value="member this.Characters : string" Usage="Android.Views.KeyEvent.Characters" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.ObsoletedOSPlatform("android29.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.ObsoletedOSPlatform("android29.0")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getCharacters", "()Ljava/lang/String;", "")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getCharacters", "()Ljava/lang/String;", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>For the special case of a <c>#ACTION_MULTIPLE</c> event with key
code of <c>#KEYCODE_UNKNOWN</c>, this is a raw string of characters
associated with the event.</summary>
<value>Returns a String of 1 or more characters associated with
the event.</value>
<remarks>
<para>For the special case of a <c>#ACTION_MULTIPLE</c> event with key
code of <c>#KEYCODE_UNKNOWN</c>, this is a raw string of characters
associated with the event. In all other cases it is null.</para>
<para>This member is deprecated. no longer used by the input system.</para>
<para>