-
Notifications
You must be signed in to change notification settings - Fork 0
/
CompanionDeviceManager+Callback.xml
462 lines (456 loc) · 31.4 KB
/
CompanionDeviceManager+Callback.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
<Type Name="CompanionDeviceManager+Callback" FullName="Android.Companion.CompanionDeviceManager+Callback">
<TypeSignature Language="C#" Value="public abstract class CompanionDeviceManager.Callback : Java.Lang.Object" />
<TypeSignature Language="ILAsm" Value=".class nested public auto ansi abstract beforefieldinit CompanionDeviceManager/Callback extends Java.Lang.Object" />
<TypeSignature Language="DocId" Value="T:Android.Companion.CompanionDeviceManager.Callback" />
<TypeSignature Language="F#" Value="type CompanionDeviceManager.Callback = 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/companion/CompanionDeviceManager$Callback", ApiSince=26, DoNotGenerateAcw=true)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("android/companion/CompanionDeviceManager$Callback", ApiSince=26, DoNotGenerateAcw=true)>]</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>
<Docs>
<summary>Callback for applications to receive updates about and the outcome of
<c>AssociationRequest</c> issued via <c>associate()</c> call.</summary>
<remarks>
<para>Callback for applications to receive updates about and the outcome of
<c>AssociationRequest</c> issued via <c>associate()</c> call.</para>
<para>The <c>Callback#onAssociationPending(IntentSender)</c> is invoked after the
<c>AssociationRequest</c> has been checked by the Companion Device Manager Service and is
pending user's approval.
The <c>IntentSender</c> received as an argument to
<c>Callback#onAssociationPending(IntentSender)</c> "encapsulates" an <c>Activity</c>
that has UI for the user to:
<ul>
<li>
choose the device to associate the application with (if multiple eligible devices are
available)
</li>
<li>confirm the association</li>
<li>
approve the privileges the application will be granted if the association is to be created
</li>
</ul>
If the Companion Device Manager Service needs to scan for the devices, the <c>Activity</c>
will also display the status and the progress of the scan.
Note that Companion Device Manager Service will only start the scanning after the
<c>Activity</c> was launched and became visible.
Applications are expected to launch the UI using the received <c>IntentSender</c> via
<c>Activity#startIntentSenderForResult(IntentSender, int, Intent, int, int, int)</c>.</para>
<para>Upon receiving user's confirmation Companion Device Manager Service will create an
association and will send an <c>AssociationInfo</c> object that represents the created
association back to the application both via
<c>Callback#onAssociationCreated(AssociationInfo)</c> and
via <c>Activity#setResult(int, Intent)</c>.
In the latter the <c>resultCode</c> will be set to <c>Activity#RESULT_OK</c> and the
<c>data</c><c>Intent</c> will contain <c>AssociationInfo</c> extra named
<c>#EXTRA_ASSOCIATION</c>.</para>
<code lang="text/java"><code>
if (resultCode == Activity.RESULT_OK) {
AssociationInfo associationInfo = data.getParcelableExtra(EXTRA_ASSOCIATION);
}
</code>
</code>
<para></p></para>
<para>If the Companion Device Manager Service is not able to create an association, it will
invoke <c>Callback#onFailure(CharSequence)</c>.
If this happened after the application has launched the UI (eg. the user chose to reject
the association), the outcome will also be delivered to the applications via
<c>Activity#setResult(int)</c> with the <c>Activity#RESULT_CANCELED</c><c>resultCode</c>.</para>
<para>Note that in some cases the Companion Device Manager Service may not need to collect
user's approval for creating an association. In such cases, this method will not be
invoked, and <c>#onAssociationCreated(AssociationInfo)</c> may be invoked right away.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/companion/CompanionDeviceManager.Callback" title="Reference documentation">Java documentation for <code>android.companion.CompanionDeviceManager.Callback</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>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public Callback ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Companion.CompanionDeviceManager.Callback.#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>To be added.</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="protected Callback (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.Companion.CompanionDeviceManager.Callback.#ctor(System.IntPtr,Android.Runtime.JniHandleOwnership)" />
<MemberSignature Language="F#" Value="new Android.Companion.CompanionDeviceManager.Callback : nativeint * Android.Runtime.JniHandleOwnership -> Android.Companion.CompanionDeviceManager.Callback" Usage="new Android.Companion.CompanionDeviceManager.Callback (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">To be added.</param>
<param name="transfer">To be added.</param>
<summary>To be added.</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="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.Companion.CompanionDeviceManager.Callback.JniPeerMembers" />
<MemberSignature Language="F#" Value="member this.JniPeerMembers : Java.Interop.JniPeerMembers" Usage="Android.Companion.CompanionDeviceManager.Callback.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="OnAssociationCreated">
<MemberSignature Language="C#" Value="public virtual void OnAssociationCreated (Android.Companion.AssociationInfo associationInfo);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void OnAssociationCreated(class Android.Companion.AssociationInfo associationInfo) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Companion.CompanionDeviceManager.Callback.OnAssociationCreated(Android.Companion.AssociationInfo)" />
<MemberSignature Language="F#" Value="abstract member OnAssociationCreated : Android.Companion.AssociationInfo -> unit
override this.OnAssociationCreated : Android.Companion.AssociationInfo -> unit" Usage="callback.OnAssociationCreated associationInfo" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("onAssociationCreated", "(Landroid/companion/AssociationInfo;)V", "GetOnAssociationCreated_Landroid_companion_AssociationInfo_Handler", ApiSince=33)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("onAssociationCreated", "(Landroid/companion/AssociationInfo;)V", "GetOnAssociationCreated_Landroid_companion_AssociationInfo_Handler", ApiSince=33)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android33.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android33.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="associationInfo" Type="Android.Companion.AssociationInfo" />
</Parameters>
<Docs>
<param name="associationInfo">contains details of the newly-established association.</param>
<summary>Invoked when the association is created.</summary>
<remarks>
<para>Invoked when the association is created.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/companion/CompanionDeviceManager.Callback#onAssociationCreated(android.companion.AssociationInfo)" title="Reference documentation">Java documentation for <code>android.companion.CompanionDeviceManager.Callback.onAssociationCreated(android.companion.AssociationInfo)</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="OnAssociationPending">
<MemberSignature Language="C#" Value="public virtual void OnAssociationPending (Android.Content.IntentSender intentSender);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void OnAssociationPending(class Android.Content.IntentSender intentSender) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Companion.CompanionDeviceManager.Callback.OnAssociationPending(Android.Content.IntentSender)" />
<MemberSignature Language="F#" Value="abstract member OnAssociationPending : Android.Content.IntentSender -> unit
override this.OnAssociationPending : Android.Content.IntentSender -> unit" Usage="callback.OnAssociationPending intentSender" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("onAssociationPending", "(Landroid/content/IntentSender;)V", "GetOnAssociationPending_Landroid_content_IntentSender_Handler", ApiSince=33)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("onAssociationPending", "(Landroid/content/IntentSender;)V", "GetOnAssociationPending_Landroid_content_IntentSender_Handler", ApiSince=33)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android33.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android33.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="intentSender" Type="Android.Content.IntentSender" />
</Parameters>
<Docs>
<param name="intentSender">an <c>IntentSender</c> which applications should use to launch
the UI for the user to confirm the association.</param>
<summary>Invoked when the association needs to approved by the user.</summary>
<remarks>
<para>Invoked when the association needs to approved by the user.
Applications should launch the <c>Activity</c> "encapsulated" in <c>intentSender</c><c>IntentSender</c> object by calling
<c>Activity#startIntentSenderForResult(IntentSender, int, Intent, int, int, int)</c>.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/companion/CompanionDeviceManager.Callback#onAssociationPending(android.content.IntentSender)" title="Reference documentation">Java documentation for <code>android.companion.CompanionDeviceManager.Callback.onAssociationPending(android.content.IntentSender)</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="OnDeviceFound">
<MemberSignature Language="C#" Value="public virtual void OnDeviceFound (Android.Content.IntentSender intentSender);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void OnDeviceFound(class Android.Content.IntentSender intentSender) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Companion.CompanionDeviceManager.Callback.OnDeviceFound(Android.Content.IntentSender)" />
<MemberSignature Language="F#" Value="abstract member OnDeviceFound : Android.Content.IntentSender -> unit
override this.OnDeviceFound : Android.Content.IntentSender -> unit" Usage="callback.OnDeviceFound intentSender" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("onDeviceFound", "(Landroid/content/IntentSender;)V", "GetOnDeviceFound_Landroid_content_IntentSender_Handler", ApiSince=26)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("onDeviceFound", "(Landroid/content/IntentSender;)V", "GetOnDeviceFound_Landroid_content_IntentSender_Handler", ApiSince=26)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.ObsoletedOSPlatform("android33.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.ObsoletedOSPlatform("android33.0")>]</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>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="intentSender" Type="Android.Content.IntentSender" />
</Parameters>
<Docs>
<param name="intentSender">To be added.</param>
<summary>This member is deprecated.</summary>
<remarks>
<para>This member is deprecated. method was renamed to onAssociationPending() to provide better clarity; both
methods are functionally equivalent and only one needs to be overridden.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/companion/CompanionDeviceManager.Callback#onDeviceFound(android.content.IntentSender)" title="Reference documentation">Java documentation for <code>android.companion.CompanionDeviceManager.Callback.onDeviceFound(android.content.IntentSender)</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="OnFailure">
<MemberSignature Language="C#" Value="public abstract void OnFailure (Java.Lang.ICharSequence? error);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void OnFailure(class Java.Lang.ICharSequence error) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Companion.CompanionDeviceManager.Callback.OnFailure(Java.Lang.ICharSequence)" />
<MemberSignature Language="F#" Value="abstract member OnFailure : Java.Lang.ICharSequence -> unit" Usage="callback.OnFailure error" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("onFailure", "(Ljava/lang/CharSequence;)V", "GetOnFailure_Ljava_lang_CharSequence_Handler", ApiSince=26)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("onFailure", "(Ljava/lang/CharSequence;)V", "GetOnFailure_Ljava_lang_CharSequence_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>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="error" Type="Java.Lang.ICharSequence" />
</Parameters>
<Docs>
<param name="error">error message.</param>
<summary>Invoked if the association could not be created.</summary>
<remarks>
<para>Invoked if the association could not be created.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/companion/CompanionDeviceManager.Callback#onFailure(java.lang.CharSequence)" title="Reference documentation">Java documentation for <code>android.companion.CompanionDeviceManager.Callback.onFailure(java.lang.CharSequence)</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="OnFailure">
<MemberSignature Language="C#" Value="public void OnFailure (string? error);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void OnFailure(string error) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Companion.CompanionDeviceManager.Callback.OnFailure(System.String)" />
<MemberSignature Language="F#" Value="member this.OnFailure : string -> unit" Usage="callback.OnFailure error" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<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>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="error" Type="System.String" />
</Parameters>
<Docs>
<param name="error">error message.</param>
<summary>Invoked if the association could not be created.</summary>
<remarks>
<para>Invoked if the association could not be created.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/companion/CompanionDeviceManager.Callback#onFailure(java.lang.CharSequence)" title="Reference documentation">Java documentation for <code>android.companion.CompanionDeviceManager.Callback.onFailure(java.lang.CharSequence)</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="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.Companion.CompanionDeviceManager.Callback.ThresholdClass" />
<MemberSignature Language="F#" Value="member this.ThresholdClass : nativeint" Usage="Android.Companion.CompanionDeviceManager.Callback.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>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="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.Companion.CompanionDeviceManager.Callback.ThresholdType" />
<MemberSignature Language="F#" Value="member this.ThresholdType : Type" Usage="Android.Companion.CompanionDeviceManager.Callback.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>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>
</Members>
</Type>