-
Notifications
You must be signed in to change notification settings - Fork 0
/
Instrumentation+ActivityMonitor.xml
578 lines (578 loc) · 39.2 KB
/
Instrumentation+ActivityMonitor.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
<Type Name="Instrumentation+ActivityMonitor" FullName="Android.App.Instrumentation+ActivityMonitor">
<TypeSignature Language="C#" Value="public class Instrumentation.ActivityMonitor : Java.Lang.Object" />
<TypeSignature Language="ILAsm" Value=".class nested public auto ansi beforefieldinit Instrumentation/ActivityMonitor extends Java.Lang.Object" />
<TypeSignature Language="DocId" Value="T:Android.App.Instrumentation.ActivityMonitor" />
<TypeSignature Language="F#" Value="type Instrumentation.ActivityMonitor = class
 inherit Object" />
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>Java.Lang.Object</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("android/app/Instrumentation$ActivityMonitor", DoNotGenerateAcw=true)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("android/app/Instrumentation$ActivityMonitor", DoNotGenerateAcw=true)>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Information about a particular kind of Intent that is being monitored.</summary>
<remarks>
<para>Information about a particular kind of Intent that is being monitored.
An instance of this class is added to the
current instrumentation through <c>#addMonitor</c>; after being added,
when a new activity is being started the monitor will be checked and, if
matching, its hit count updated and (optionally) the call stopped and a
canned result returned.</para>
<para>An ActivityMonitor can also be used to look for the creation of an
activity, through the <c>#waitForActivity</c> method. This will return
after a matching activity has been created with that activity object.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/app/Instrumentation.ActivityMonitor" title="Reference documentation">Java documentation for <code>android.app.Instrumentation.ActivityMonitor</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 ActivityMonitor ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:Android.App.Instrumentation.ActivityMonitor.#ctor" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register(".ctor", "()V", "", ApiSince=26)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register(".ctor", "()V", "", ApiSince=26)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android26.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android26.0")>]</AttributeName>
</Attribute>
</Attributes>
<Parameters />
<Docs>
<summary>Create a new ActivityMonitor that can be used for intercepting any activity to be
started.</summary>
<remarks>
<para>Create a new ActivityMonitor that can be used for intercepting any activity to be
started.</para>
<para>When an activity is started, <c>#onStartActivity(Intent)</c> will be called on
instances created using this constructor to see if it is a hit.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/app/Instrumentation.ActivityMonitor#Instrumentation$ActivityMonitor()" title="Reference documentation">Java documentation for <code>android.app.Instrumentation.ActivityMonitor.Instrumentation$ActivityMonitor()</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>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected ActivityMonitor (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.App.Instrumentation.ActivityMonitor.#ctor(System.IntPtr,Android.Runtime.JniHandleOwnership)" />
<MemberSignature Language="F#" Value="new Android.App.Instrumentation.ActivityMonitor : nativeint * Android.Runtime.JniHandleOwnership -> Android.App.Instrumentation.ActivityMonitor" Usage="new Android.App.Instrumentation.ActivityMonitor (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 ActivityMonitor (Android.Content.IntentFilter which, Android.App.Instrumentation.ActivityResult result, bool block);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class Android.Content.IntentFilter which, class Android.App.Instrumentation/ActivityResult result, bool block) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.App.Instrumentation.ActivityMonitor.#ctor(Android.Content.IntentFilter,Android.App.Instrumentation.ActivityResult,System.Boolean)" />
<MemberSignature Language="F#" Value="new Android.App.Instrumentation.ActivityMonitor : Android.Content.IntentFilter * Android.App.Instrumentation.ActivityResult * bool -> Android.App.Instrumentation.ActivityMonitor" Usage="new Android.App.Instrumentation.ActivityMonitor (which, result, block)" />
<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/content/IntentFilter;Landroid/app/Instrumentation$ActivityResult;Z)V", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register(".ctor", "(Landroid/content/IntentFilter;Landroid/app/Instrumentation$ActivityResult;Z)V", "")>]</AttributeName>
</Attribute>
</Attributes>
<Parameters>
<Parameter Name="which" Type="Android.Content.IntentFilter" />
<Parameter Name="result" Type="Android.App.Instrumentation+ActivityResult" />
<Parameter Name="block" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="which">To be added.</param>
<param name="result">To be added.</param>
<param name="block">To be added.</param>
<summary>Create a new ActivityMonitor that looks for a particular kind of
intent to be started.</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>
<since version="Added in API level 1" />
<altmember cref="M:Android.App.Instrumentation.AddMonitor(Android.App.Instrumentation.ActivityMonitor)" />
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public ActivityMonitor (string cls, Android.App.Instrumentation.ActivityResult result, bool block);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(string cls, class Android.App.Instrumentation/ActivityResult result, bool block) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.App.Instrumentation.ActivityMonitor.#ctor(System.String,Android.App.Instrumentation.ActivityResult,System.Boolean)" />
<MemberSignature Language="F#" Value="new Android.App.Instrumentation.ActivityMonitor : string * Android.App.Instrumentation.ActivityResult * bool -> Android.App.Instrumentation.ActivityMonitor" Usage="new Android.App.Instrumentation.ActivityMonitor (cls, result, block)" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Landroid/app/Instrumentation$ActivityResult;Z)V", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Landroid/app/Instrumentation$ActivityResult;Z)V", "")>]</AttributeName>
</Attribute>
</Attributes>
<Parameters>
<Parameter Name="cls" Type="System.String" />
<Parameter Name="result" Type="Android.App.Instrumentation+ActivityResult" />
<Parameter Name="block" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="cls">To be added.</param>
<param name="result">To be added.</param>
<param name="block">To be added.</param>
<summary>Create a new ActivityMonitor that looks for a specific activity
class to be started.</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>
<since version="Added in API level 1" />
<altmember cref="M:Android.App.Instrumentation.AddMonitor(Android.App.Instrumentation.ActivityMonitor)" />
</Docs>
</Member>
<Member MemberName="Filter">
<MemberSignature Language="C#" Value="public Android.Content.IntentFilter Filter { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Android.Content.IntentFilter Filter" />
<MemberSignature Language="DocId" Value="P:Android.App.Instrumentation.ActivityMonitor.Filter" />
<MemberSignature Language="F#" Value="member this.Filter : Android.Content.IntentFilter" Usage="Android.App.Instrumentation.ActivityMonitor.Filter" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getFilter", "()Landroid/content/IntentFilter;", "")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getFilter", "()Landroid/content/IntentFilter;", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Content.IntentFilter</ReturnType>
</ReturnValue>
<Docs>
<summary>Retrieve the filter associated with this ActivityMonitor.</summary>
<value>To be added.</value>
<remarks>
<para>Retrieve the filter associated with this ActivityMonitor.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/app/Instrumentation.ActivityMonitor#getFilter()" title="Reference documentation">Java documentation for <code>android.app.Instrumentation.ActivityMonitor.getFilter()</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="Hits">
<MemberSignature Language="C#" Value="public int Hits { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 Hits" />
<MemberSignature Language="DocId" Value="P:Android.App.Instrumentation.ActivityMonitor.Hits" />
<MemberSignature Language="F#" Value="member this.Hits : int" Usage="Android.App.Instrumentation.ActivityMonitor.Hits" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getHits", "()I", "")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getHits", "()I", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>Retrieve the number of times the monitor has been hit so far.</summary>
<value>To be added.</value>
<remarks>
<para>Retrieve the number of times the monitor has been hit so far.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/app/Instrumentation.ActivityMonitor#getHits()" title="Reference documentation">Java documentation for <code>android.app.Instrumentation.ActivityMonitor.getHits()</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="IsBlocking">
<MemberSignature Language="C#" Value="public bool IsBlocking { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool IsBlocking" />
<MemberSignature Language="DocId" Value="P:Android.App.Instrumentation.ActivityMonitor.IsBlocking" />
<MemberSignature Language="F#" Value="member this.IsBlocking : bool" Usage="Android.App.Instrumentation.ActivityMonitor.IsBlocking" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("isBlocking", "()Z", "")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("isBlocking", "()Z", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Check whether this monitor blocks activity starts (not allowing the
actual activity to run) or allows them to execute normally.</summary>
<value>To be added.</value>
<remarks>
<para>Check whether this monitor blocks activity starts (not allowing the
actual activity to run) or allows them to execute normally.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/app/Instrumentation.ActivityMonitor#isBlocking()" title="Reference documentation">Java documentation for <code>android.app.Instrumentation.ActivityMonitor.isBlocking()</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="JniPeerMembers">
<MemberSignature Language="C#" Value="public override Java.Interop.JniPeerMembers JniPeerMembers { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Java.Interop.JniPeerMembers JniPeerMembers" />
<MemberSignature Language="DocId" Value="P:Android.App.Instrumentation.ActivityMonitor.JniPeerMembers" />
<MemberSignature Language="F#" Value="member this.JniPeerMembers : Java.Interop.JniPeerMembers" Usage="Android.App.Instrumentation.ActivityMonitor.JniPeerMembers" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Java.Interop.JniPeerMembers</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<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="LastActivity">
<MemberSignature Language="C#" Value="public Android.App.Activity LastActivity { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Android.App.Activity LastActivity" />
<MemberSignature Language="DocId" Value="P:Android.App.Instrumentation.ActivityMonitor.LastActivity" />
<MemberSignature Language="F#" Value="member this.LastActivity : Android.App.Activity" Usage="Android.App.Instrumentation.ActivityMonitor.LastActivity" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getLastActivity", "()Landroid/app/Activity;", "")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getLastActivity", "()Landroid/app/Activity;", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.App.Activity</ReturnType>
</ReturnValue>
<Docs>
<summary>Retrieve the most recent activity class that was seen by this
monitor.</summary>
<value>To be added.</value>
<remarks>
<para>Retrieve the most recent activity class that was seen by this
monitor.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/app/Instrumentation.ActivityMonitor#getLastActivity()" title="Reference documentation">Java documentation for <code>android.app.Instrumentation.ActivityMonitor.getLastActivity()</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="OnStartActivity">
<MemberSignature Language="C#" Value="public virtual Android.App.Instrumentation.ActivityResult OnStartActivity (Android.Content.Intent intent);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Android.App.Instrumentation/ActivityResult OnStartActivity(class Android.Content.Intent intent) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.App.Instrumentation.ActivityMonitor.OnStartActivity(Android.Content.Intent)" />
<MemberSignature Language="F#" Value="abstract member OnStartActivity : Android.Content.Intent -> Android.App.Instrumentation.ActivityResult
override this.OnStartActivity : Android.Content.Intent -> Android.App.Instrumentation.ActivityResult" Usage="activityMonitor.OnStartActivity intent" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("onStartActivity", "(Landroid/content/Intent;)Landroid/app/Instrumentation$ActivityResult;", "GetOnStartActivity_Landroid_content_Intent_Handler", ApiSince=26)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("onStartActivity", "(Landroid/content/Intent;)Landroid/app/Instrumentation$ActivityResult;", "GetOnStartActivity_Landroid_content_Intent_Handler", ApiSince=26)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android26.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android26.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.App.Instrumentation+ActivityResult</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="intent" Type="Android.Content.Intent" />
</Parameters>
<Docs>
<param name="intent">To be added.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<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="Result">
<MemberSignature Language="C#" Value="public Android.App.Instrumentation.ActivityResult Result { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Android.App.Instrumentation/ActivityResult Result" />
<MemberSignature Language="DocId" Value="P:Android.App.Instrumentation.ActivityMonitor.Result" />
<MemberSignature Language="F#" Value="member this.Result : Android.App.Instrumentation.ActivityResult" Usage="Android.App.Instrumentation.ActivityMonitor.Result" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getResult", "()Landroid/app/Instrumentation$ActivityResult;", "")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getResult", "()Landroid/app/Instrumentation$ActivityResult;", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.App.Instrumentation+ActivityResult</ReturnType>
</ReturnValue>
<Docs>
<summary>Retrieve the result associated with this ActivityMonitor, or null if
none.</summary>
<value>To be added.</value>
<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>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="ThresholdClass">
<MemberSignature Language="C#" Value="protected override IntPtr ThresholdClass { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance native int ThresholdClass" />
<MemberSignature Language="DocId" Value="P:Android.App.Instrumentation.ActivityMonitor.ThresholdClass" />
<MemberSignature Language="F#" Value="member this.ThresholdClass : nativeint" Usage="Android.App.Instrumentation.ActivityMonitor.ThresholdClass" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.IntPtr</ReturnType>
</ReturnValue>
<Docs>
<summary>This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.</summary>
<value>A <see cref="T:System.IntPtr" /> which contains the <c>java.lang.Class</c> JNI value corresponding to this type.</value>
<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="ThresholdType">
<MemberSignature Language="C#" Value="protected override Type ThresholdType { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Type ThresholdType" />
<MemberSignature Language="DocId" Value="P:Android.App.Instrumentation.ActivityMonitor.ThresholdType" />
<MemberSignature Language="F#" Value="member this.ThresholdType : Type" Usage="Android.App.Instrumentation.ActivityMonitor.ThresholdType" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Type</ReturnType>
</ReturnValue>
<Docs>
<summary>This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.</summary>
<value>A <see cref="T:System.Type" /> which provides the declaring type.</value>
<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="WaitForActivity">
<MemberSignature Language="C#" Value="public Android.App.Activity WaitForActivity ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Android.App.Activity WaitForActivity() cil managed" />
<MemberSignature Language="DocId" Value="M:Android.App.Instrumentation.ActivityMonitor.WaitForActivity" />
<MemberSignature Language="F#" Value="member this.WaitForActivity : unit -> Android.App.Activity" Usage="activityMonitor.WaitForActivity " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("waitForActivity", "()Landroid/app/Activity;", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("waitForActivity", "()Landroid/app/Activity;", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.App.Activity</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Block until an Activity is created that matches this monitor,
returning the resulting activity.</summary>
<returns>Activity</returns>
<remarks>
<para>Block until an Activity is created that matches this monitor,
returning the resulting activity.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/app/Instrumentation.ActivityMonitor#waitForActivity()" title="Reference documentation">Java documentation for <code>android.app.Instrumentation.ActivityMonitor.waitForActivity()</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="WaitForActivityWithTimeout">
<MemberSignature Language="C#" Value="public Android.App.Activity WaitForActivityWithTimeout (long timeOut);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Android.App.Activity WaitForActivityWithTimeout(int64 timeOut) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.App.Instrumentation.ActivityMonitor.WaitForActivityWithTimeout(System.Int64)" />
<MemberSignature Language="F#" Value="member this.WaitForActivityWithTimeout : int64 -> Android.App.Activity" Usage="activityMonitor.WaitForActivityWithTimeout timeOut" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("waitForActivityWithTimeout", "(J)Landroid/app/Activity;", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("waitForActivityWithTimeout", "(J)Landroid/app/Activity;", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.App.Activity</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="timeOut" Type="System.Int64" />
</Parameters>
<Docs>
<param name="timeOut">Time to wait in milliseconds before the activity is created.</param>
<summary>Block until an Activity is created that matches this monitor,
returning the resulting activity or till the timeOut period expires.</summary>
<returns>Activity</returns>
<remarks>
<para>Block until an Activity is created that matches this monitor,
returning the resulting activity or till the timeOut period expires.
If the timeOut expires before the activity is started, return null.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/app/Instrumentation.ActivityMonitor#waitForActivityWithTimeout(long)" title="Reference documentation">Java documentation for <code>android.app.Instrumentation.ActivityMonitor.waitForActivityWithTimeout(long)</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>
</Members>
</Type>