/
ConnectionService.xml
1887 lines (1880 loc) · 148 KB
/
ConnectionService.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="ConnectionService" FullName="Android.Telecom.ConnectionService">
<TypeSignature Language="C#" Value="public abstract class ConnectionService : Android.App.Service" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi abstract beforefieldinit ConnectionService extends Android.App.Service" />
<TypeSignature Language="DocId" Value="T:Android.Telecom.ConnectionService" />
<TypeSignature Language="F#" Value="type ConnectionService = class
 inherit Service" />
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>Android.App.Service</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("android/telecom/ConnectionService", ApiSince=23, DoNotGenerateAcw=true)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("android/telecom/ConnectionService", ApiSince=23, DoNotGenerateAcw=true)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android23.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android23.0")>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>An abstract service that should be implemented by any apps which either:
<ol>
<li>Can make phone calls (VoIP or otherwise) and want those calls to be integrated into the
built-in phone app.</summary>
<remarks>
<para>An abstract service that should be implemented by any apps which either:
<ol>
<li>Can make phone calls (VoIP or otherwise) and want those calls to be integrated into the
built-in phone app. Referred to as a <b>system managed</b> <c>ConnectionService</c>.</li>
<li>Are a standalone calling app and don't want their calls to be integrated into the
built-in phone app. Referred to as a <b>self managed</b> <c>ConnectionService</c>.</li>
</ol>
Once implemented, the <c>ConnectionService</c> needs to take the following steps so that Telecom
will bind to it:</para>
<para>1. <i>Registration in AndroidManifest.xml</i><br/></para>
<code lang="text/java">&lt;service android:name="com.example.package.MyConnectionService"
android:label="@string/some_label_for_my_connection_service"
android:permission="android.permission.BIND_TELECOM_CONNECTION_SERVICE"&gt;
&lt;intent-filter&gt;
&lt;action android:name="android.telecom.ConnectionService" /&gt;
&lt;/intent-filter&gt;
&lt;/service&gt;
</code>
<para>2. <i> Registration of <c>PhoneAccount</c> with <c>TelecomManager</c>.</i><br/>
See <c>PhoneAccount</c> and <c>TelecomManager#registerPhoneAccount</c> for more information.</para>
<para>System managed <c>ConnectionService</c>s must be enabled by the user in the phone app settings
before Telecom will bind to them. Self-managed <c>ConnectionService</c>s must declare the
<c>android.Manifest.permission#MANAGE_OWN_CALLS</c> permission in their manifest before Telecom
will bind to them.</para>
<para>Once registered and enabled by the user in the phone app settings or granted permission, telecom
will bind to a <c>ConnectionService</c> implementation when it wants that
<c>ConnectionService</c> to place a call or the service has indicated that is has an incoming
call through <c>TelecomManager#addNewIncomingCall(PhoneAccountHandle, Bundle)</c>. The
<c>ConnectionService</c> can then expect a call to
<c>#onCreateIncomingConnection(PhoneAccountHandle, ConnectionRequest)</c> or
<c>#onCreateOutgoingConnection(PhoneAccountHandle, ConnectionRequest)</c>
wherein it should provide a new instance of a <c>Connection</c> object. It is through this
<c>Connection</c> object that telecom receives state updates and the <c>ConnectionService</c>
receives call-commands such as answer, reject, hold and disconnect.</para>
<para>When there are no more live calls, telecom will unbind from the <c>ConnectionService</c>.</para>
<para><h1>Self-Managed Connection Services</h1>
A VoIP app can implement a <c>ConnectionService</c> to ensure that its calls are integrated
into the Android platform. There are numerous benefits to using the Telecom APIs for a VoIP app:
<ul>
<li>Call concurrency is handled - the user is able to swap between calls in different
apps and on the mobile network.</li>
<li>Simplified audio routing - the platform provides your app with a unified list of the
audio routes which are available
(e.g. <c>android.telecom.Connection#onAvailableCallEndpointsChanged(List)</c>) and a
standardized way to switch audio routes
(e.g. <c>android.telecom.Connection#requestCallEndpointChange(CallEndpoint, Executor,
OutcomeReceiver)</c> ).</li>
<li>Bluetooth integration - your calls will be visible on and controllable via
bluetooth devices (e.g. car head units and headsets).</li>
<li>Companion device integration - wearable devices such as watches which implement an
<c>InCallService</c> can optionally subscribe to see self-managed calls. Similar to a
bluetooth headunit, wearables will typically render your call using a generic call UX and
provide the user with basic call controls such as hangup, answer, reject.</li>
<li>Automotive calling experiences - Android supports automotive optimized experiences which
provides a means for calls to be controlled and viewed in an automobile; these experiences
are capable of leveraging call metadata provided by your app.</li>
</ul>
<h2>Registering a Phone Account</h2>
Before your app can handle incoming or outgoing calls through Telecom it needs to register a
<c>PhoneAccount</c> with Telecom indicating to the platform that your app is capable of calling.</para>
<para>Your app should create a new instance of <c>PhoneAccount</c> which meets the following
requirements:
<ul>
<li>Has <c>PhoneAccount#CAPABILITY_SELF_MANAGED</c> (set using
<c>PhoneAccount.Builder#setCapabilities(int)</c>). This indicates to Telecom that your
app will report calls but that it provides a primary UI for the calls by itself.</li>
<li>Provide a unique identifier for the <c>PhoneAccount</c> via the
<c>PhoneAccountHandle#getId()</c> attribute. As per the <c>PhoneAccountHandle</c>
documentation, you should NOT use an identifier which contains PII or other sensitive
information. A typical choice is a UUID.</li>
</ul>
Your app should register the new <c>PhoneAccount</c> with Telecom using
<c>TelecomManager#registerPhoneAccount(PhoneAccount)</c>. <c>PhoneAccount</c>s persist across
reboot. You can use <c>TelecomManager#getOwnSelfManagedPhoneAccounts()</c> to confirm the
<c>PhoneAccount</c> you registered. Your app should generally only register a single
<c>PhoneAccount</c>.
<h2>Implementing ConnectionService</h2>
Your app uses <c>TelecomManager#placeCall(Uri, Bundle)</c> to start new outgoing calls and
<c>TelecomManager#addNewIncomingCall(PhoneAccountHandle, Bundle)</c> to report new incoming
calls. Calling these APIs causes the Telecom stack to bind to your app's
<c>ConnectionService</c> implementation. Telecom will either inform your app that it cannot
handle a call request at the current time (i.e. there could be an ongoing emergency call, which
means your app is not allowed to handle calls at the current time), or it will ask your app to
create a new instance of <c>Connection</c> to represent a call in your app.
Your app should implement the following <c>ConnectionService</c> methods:
<ul>
<li><c>ConnectionService#onCreateOutgoingConnection(PhoneAccountHandle,
ConnectionRequest)</c> - called by Telecom to ask your app to make a new <c>Connection</c>
to represent an outgoing call your app requested via
<c>TelecomManager#placeCall(Uri, Bundle)</c>.</li>
<li><<c>ConnectionService#onCreateOutgoingConnectionFailed(PhoneAccountHandle,
ConnectionRequest)</c> - called by Telecom to inform your app that a call it reported via
<c>TelecomManager#placeCall(Uri, Bundle)</c> cannot be handled at this time. Your app
should NOT place a call at the current time.</li>
<li><c>ConnectionService#onCreateIncomingConnection(PhoneAccountHandle,
ConnectionRequest)</c> - called by Telecom to ask your app to make a new <c>Connection</c>
to represent an incoming call your app reported via
<c>TelecomManager#addNewIncomingCall(PhoneAccountHandle, Bundle)</c>.</li>
<li><c>ConnectionService#onCreateIncomingConnectionFailed(PhoneAccountHandle,
ConnectionRequest)</c> - called by Telecom to inform your app that an incoming call it reported
via <c>TelecomManager#addNewIncomingCall(PhoneAccountHandle, Bundle)</c> cannot be handled
at this time. Your app should NOT post a new incoming call notification and should silently
reject the call.</li>
</ul>
<h2>Implementing a Connection</h2>
Your app should extend the <c>Connection</c> class to represent calls in your app. When you
create new instances of your <c>Connection</c>, you should ensure the following properties are
set on the new <c>Connection</c> instance returned by your <c>ConnectionService</c>:
<ul>
<li><c>Connection#setAddress(Uri, int)</c> - the identifier for the other party. For
apps that user phone numbers the <c>Uri</c> can be a <c>PhoneAccount#SCHEME_TEL</c> URI
representing the phone number.</li>
<li><c>Connection#setCallerDisplayName(String, int)</c> - the display name of the other
party. This is what will be shown on Bluetooth devices and other calling surfaces such
as wearable devices. This is particularly important for calls that do not use a phone
number to identify the caller or called party.</li>
<li><c>Connection#setConnectionProperties(int)</c> - ensure you set
<c>Connection#PROPERTY_SELF_MANAGED</c> to identify to the platform that the call is
handled by your app.</li>
<li><c>Connection#setConnectionCapabilities(int)</c> - if your app supports making calls
inactive (i.e. holding calls) you should get <c>Connection#CAPABILITY_SUPPORT_HOLD</c> and
<c>Connection#CAPABILITY_HOLD</c> to indicate to the platform that you calls can potentially
be held for concurrent calling scenarios.</li>
<li><c>Connection#setAudioModeIsVoip(boolean)</c> - set to <c>true</c> to ensure that the
platform knows your call is a VoIP call.</li>
<li>For newly created <c>Connection</c> instances, do NOT change the state of your call
using <c>Connection#setActive()</c>, <c>Connection#setOnHold()</c> until the call is added
to Telecom (ie you have returned it via
<c>ConnectionService#onCreateOutgoingConnection(PhoneAccountHandle, ConnectionRequest)</c>
or
<c>ConnectionService#onCreateIncomingConnection(PhoneAccountHandle, ConnectionRequest)</c>).
</li>
</ul>
<h2>How to Place Outgoing Calls</h2>
When your app wants to place an outgoing call it calls
<c>TelecomManager#placeCall(Uri, Bundle)</c>. You should specify a <c>Uri</c> to identify
who the call is being placed to, and specify the <c>PhoneAccountHandle</c> associated with the
<c>PhoneAccount</c> you registered for your app using
<c>TelecomManager#EXTRA_PHONE_ACCOUNT_HANDLE</c> in the <c>Bundle</c> parameter.</para>
<para>Telecom will bind to your app's <c>ConnectionService</c> implementation and call either:
<ul>
<li><c>ConnectionService#onCreateOutgoingConnection(PhoneAccountHandle,
ConnectionRequest)</c> - the <c>ConnectionRequest#getAddress()</c> will match the address
you specified when placing the call. You should return a new instance of your app's
<c>Connection</c> class to represent the outgoing call.</li>
<li><c>ConnectionService#onCreateOutgoingConnectionFailed(PhoneAccountHandle,
ConnectionRequest)</c> - your app should not place the call at this time; the call should be
cancelled and the user informed that the call cannot be placed.</li>
</ul></para>
<para>New outgoing calls will start in a <c>Connection#STATE_DIALING</c> state. This state indicates
that your app is in the process of connecting the call to the other party.</para>
<para>Once the other party answers the call (or it is set up successfully), your app should call
<c>Connection#setActive()</c> to inform Telecom that the call is now active.
<h2>How to Add Incoming Calls</h2>
When your app receives an incoming call, it should call
<c>TelecomManager#addNewIncomingCall(PhoneAccountHandle, Bundle)</c>. Set the
<c>PhoneAccountHandle</c> parameter to the <c>PhoneAccountHandle</c> associated with your
app's <c>PhoneAccount</c>.</para>
<para>Telecom will bind to your app's <c>ConnectionService</c> implementation and call either:
<ul>
<li><c>ConnectionService#onCreateIncomingConnection(PhoneAccountHandle,
ConnectionRequest)</c> - You should return a new instance of your app's
<c>Connection</c> class to represent the incoming call.</li>
<li><c>ConnectionService#onCreateIncomingConnectionFailed(PhoneAccountHandle,
ConnectionRequest)</c> - your app should not receive the call at this time; the call should be
rejected silently; the user may be informed of a missed call.</li>
</ul></para>
<para>New incoming calls will start with a <c>Connection#STATE_RINGING</c> state. This state
indicates that your app has a new incoming call pending. Telecom will NOT play a ringtone or
post a notification for your app. It is up to your app to post an incoming call notification
with an associated ringtone. Telecom will call <c>Connection#onShowIncomingCallUi()</c> on the
<c>Connection</c> when your app can post its incoming call notification. See
<c>Connection#onShowIncomingCallUi() the docs</c> for more information on how to post the
notification.</para>
<para>Your incoming call notification (or full screen UI) will typically have an "answer" and "decline"
action which the user chooses. When your app receives the "answer" or "decline"
<c>android.app.PendingIntent</c>, you should must call either <c>Connection#setActive()</c> to
inform Telecom that the call was answered, or
<c>Connection#setDisconnected(DisconnectCause)</c> to inform Telecom that the call was rejected.
If the call was rejected, supply an instance of <c>DisconnectCause</c> with
<c>DisconnectCause#REJECTED</c>, and then call <c>Connection#destroy()</c>.</para>
<para>In addition to handling requests to answer or decline the call via notification actions, your
app should also be implement the <c>Connection#onAnswer(int)</c> and
<c>Connection#onAnswer()</c> methods on the <c>Connection</c>. These will be raised if the
user answers your call via a Bluetooth device or another device like a wearable or automotive
calling UX. In response, your app should call <c>Connection#setActive()</c> to inform Telecom
that the call was answered.</para>
<para>Additionally, your app should implement <c>Connection#onReject()</c> to handle requests to
reject the call which are raised via Bluetooth or other calling surfaces. Your app should call
<c>Connection#setDisconnected(DisconnectCause)</c> and supply an instance of
<c>DisconnectCause</c> with <c>DisconnectCause#REJECTED</c> in this case.
<h2>Ending Calls</h2>
When an ongoing active call (incoming or outgoing) has ended, your app is responsible for
informing Telecom that the call ended.</para>
<para>Your app calls:
<ul>
<li><c>Connection#setDisconnected(DisconnectCause)</c> - this informs Telecom that the
call has terminated. You should provide a new instance of <c>DisconnectCause</c> with
either <c>DisconnectCause#LOCAL</c> or <c>DisconnectCause#REMOTE</c> to indicate where the
call disconnection took place. <c>DisconnectCause#LOCAL</c> indicates that the call
terminated in your app on the current device (i.e. via user action), where
<c>DisconnectCause#REMOTE</c> indicates that the call terminates on the remote device.</li>
<li><c>Connection#destroy()</c> - this informs Telecom that your call instance can be
cleaned up. You should always call this when you are finished with a call.</li>
</ul></para>
<para>Similar to answering incoming calls, requests to disconnect your call may originate from outside
your app. You can handle these by implementing <c>Connection#onDisconnect()</c>. Your app
should call <c>Connection#setDisconnected(DisconnectCause)</c> with an instance of
<c>DisconnectCause</c> and reason <c>DisconnectCause#LOCAL</c> to indicate to Telecom that your
app has disconnected the call as requested based on the user's request.
<h2>Holding and Unholding Calls</h2>
When your app specifies <c>Connection#CAPABILITY_SUPPORT_HOLD</c> and
<c>Connection#CAPABILITY_HOLD</c> on your <c>Connection</c> instance, it is telling Telecom
that your calls can be placed into a suspended, or "held" state if required. If your app
supports holding its calls, it will be possible for the user to switch between calls in your app
and holdable calls in another app or on the mobile network. If your app does not support
holding its calls, you may receive a request to disconnect the call from Telecom if the user
opts to answer an incoming call in another app or on the mobile network; this ensures that the
user can only be in one call at a time.</para>
<para>Your app is free to change a call between the held and active state using
<c>Connection#setOnHold()</c> and <c>Connection#setActive()</c>.</para>
<para>Your app may receive a request from Telecom to hold or unhold a call via
<c>Connection#onHold()</c> and <c>Connection#onUnhold()</c>. Telecom can ask your app to
hold or unhold its <c>Connection</c> either if the user requests this action through another
calling surface such as Bluetooth, or if the user answers or switches to a call in a different
app or on the mobile network.</para>
<para>When your app receives an <c>Connection#onHold()</c> it must call <c>Connection#setOnHold()</c>
to inform Telecom that the call has been held successfully.</para>
<para>When your app receives an <c>Connection#onUnhold()</c> it must call
<c>Connection#setActive()</c> to inform Telecom that the call has been resumed successfully.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/telecom/ConnectionService" title="Reference documentation">Java documentation for <code>android.telecom.ConnectionService</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 ConnectionService ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Telecom.ConnectionService.#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=23)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register(".ctor", "()V", "", ApiSince=23)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android23.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android23.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 ConnectionService (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.Telecom.ConnectionService.#ctor(System.IntPtr,Android.Runtime.JniHandleOwnership)" />
<MemberSignature Language="F#" Value="new Android.Telecom.ConnectionService : nativeint * Android.Runtime.JniHandleOwnership -> Android.Telecom.ConnectionService" Usage="new Android.Telecom.ConnectionService (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="AddConference">
<MemberSignature Language="C#" Value="public void AddConference (Android.Telecom.Conference? conference);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void AddConference(class Android.Telecom.Conference conference) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Telecom.ConnectionService.AddConference(Android.Telecom.Conference)" />
<MemberSignature Language="F#" Value="member this.AddConference : Android.Telecom.Conference -> unit" Usage="connectionService.AddConference conference" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("addConference", "(Landroid/telecom/Conference;)V", "", ApiSince=23)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("addConference", "(Landroid/telecom/Conference;)V", "", ApiSince=23)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android23.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android23.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="conference" Type="Android.Telecom.Conference" />
</Parameters>
<Docs>
<param name="conference">The new conference object.</param>
<summary>Adds a new conference call.</summary>
<remarks>
<para>Adds a new conference call. When a conference call is created either as a result of an
explicit request via <c>#onConference</c> or otherwise, the connection service should supply
an instance of <c>Conference</c> by invoking this method. A conference call provided by this
method will persist until <c>Conference#destroy</c> is invoked on the conference instance.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/telecom/ConnectionService#addConference(android.telecom.Conference)" title="Reference documentation">Java documentation for <code>android.telecom.ConnectionService.addConference(android.telecom.Conference)</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="AddExistingConnection">
<MemberSignature Language="C#" Value="public void AddExistingConnection (Android.Telecom.PhoneAccountHandle? phoneAccountHandle, Android.Telecom.Connection? connection);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void AddExistingConnection(class Android.Telecom.PhoneAccountHandle phoneAccountHandle, class Android.Telecom.Connection connection) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Telecom.ConnectionService.AddExistingConnection(Android.Telecom.PhoneAccountHandle,Android.Telecom.Connection)" />
<MemberSignature Language="F#" Value="member this.AddExistingConnection : Android.Telecom.PhoneAccountHandle * Android.Telecom.Connection -> unit" Usage="connectionService.AddExistingConnection (phoneAccountHandle, connection)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("addExistingConnection", "(Landroid/telecom/PhoneAccountHandle;Landroid/telecom/Connection;)V", "", ApiSince=23)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("addExistingConnection", "(Landroid/telecom/PhoneAccountHandle;Landroid/telecom/Connection;)V", "", ApiSince=23)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android23.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android23.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="phoneAccountHandle" Type="Android.Telecom.PhoneAccountHandle" />
<Parameter Name="connection" Type="Android.Telecom.Connection" />
</Parameters>
<Docs>
<param name="phoneAccountHandle">The phone account handle for the connection.</param>
<param name="connection">The connection to add.</param>
<summary>Adds a connection created by the <c>ConnectionService</c> and informs telecom of the new
connection.</summary>
<remarks>
<para>Adds a connection created by the <c>ConnectionService</c> and informs telecom of the new
connection.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/telecom/ConnectionService#addExistingConnection(android.telecom.PhoneAccountHandle,%20android.telecom.Connection)" title="Reference documentation">Java documentation for <code>android.telecom.ConnectionService.addExistingConnection(android.telecom.PhoneAccountHandle, android.telecom.Connection)</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="AllConferences">
<MemberSignature Language="C#" Value="public System.Collections.Generic.ICollection<Android.Telecom.Conference>? AllConferences { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Collections.Generic.ICollection`1<class Android.Telecom.Conference> AllConferences" />
<MemberSignature Language="DocId" Value="P:Android.Telecom.ConnectionService.AllConferences" />
<MemberSignature Language="F#" Value="member this.AllConferences : System.Collections.Generic.ICollection<Android.Telecom.Conference>" Usage="Android.Telecom.ConnectionService.AllConferences" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android24.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android24.0")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getAllConferences", "()Ljava/util/Collection;", "", ApiSince=24)]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getAllConferences", "()Ljava/util/Collection;", "", ApiSince=24)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Collections.Generic.ICollection<Android.Telecom.Conference></ReturnType>
</ReturnValue>
<Docs>
<summary>Returns all the active <c>Conference</c>s for which this <c>ConnectionService</c>
has taken responsibility.</summary>
<value>A collection of <c>Conference</c>s created by this <c>ConnectionService</c>.</value>
<remarks>
<para>Returns all the active <c>Conference</c>s for which this <c>ConnectionService</c>
has taken responsibility.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/telecom/ConnectionService#getAllConferences()" title="Reference documentation">Java documentation for <code>android.telecom.ConnectionService.getAllConferences()</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="AllConnections">
<MemberSignature Language="C#" Value="public System.Collections.Generic.ICollection<Android.Telecom.Connection>? AllConnections { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Collections.Generic.ICollection`1<class Android.Telecom.Connection> AllConnections" />
<MemberSignature Language="DocId" Value="P:Android.Telecom.ConnectionService.AllConnections" />
<MemberSignature Language="F#" Value="member this.AllConnections : System.Collections.Generic.ICollection<Android.Telecom.Connection>" Usage="Android.Telecom.ConnectionService.AllConnections" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android23.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android23.0")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getAllConnections", "()Ljava/util/Collection;", "", ApiSince=23)]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getAllConnections", "()Ljava/util/Collection;", "", ApiSince=23)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Collections.Generic.ICollection<Android.Telecom.Connection></ReturnType>
</ReturnValue>
<Docs>
<summary>Returns all the active <c>Connection</c>s for which this <c>ConnectionService</c>
has taken responsibility.</summary>
<value>A collection of <c>Connection</c>s created by this <c>ConnectionService</c>.</value>
<remarks>
<para>Returns all the active <c>Connection</c>s for which this <c>ConnectionService</c>
has taken responsibility.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/telecom/ConnectionService#getAllConnections()" title="Reference documentation">Java documentation for <code>android.telecom.ConnectionService.getAllConnections()</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="ConferenceRemoteConnections">
<MemberSignature Language="C#" Value="public void ConferenceRemoteConnections (Android.Telecom.RemoteConnection? remoteConnection1, Android.Telecom.RemoteConnection? remoteConnection2);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void ConferenceRemoteConnections(class Android.Telecom.RemoteConnection remoteConnection1, class Android.Telecom.RemoteConnection remoteConnection2) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Telecom.ConnectionService.ConferenceRemoteConnections(Android.Telecom.RemoteConnection,Android.Telecom.RemoteConnection)" />
<MemberSignature Language="F#" Value="member this.ConferenceRemoteConnections : Android.Telecom.RemoteConnection * Android.Telecom.RemoteConnection -> unit" Usage="connectionService.ConferenceRemoteConnections (remoteConnection1, remoteConnection2)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("conferenceRemoteConnections", "(Landroid/telecom/RemoteConnection;Landroid/telecom/RemoteConnection;)V", "", ApiSince=23)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("conferenceRemoteConnections", "(Landroid/telecom/RemoteConnection;Landroid/telecom/RemoteConnection;)V", "", ApiSince=23)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android23.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android23.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="remoteConnection1" Type="Android.Telecom.RemoteConnection" />
<Parameter Name="remoteConnection2" Type="Android.Telecom.RemoteConnection" />
</Parameters>
<Docs>
<param name="remoteConnection1">The first of the remote connections to conference.</param>
<param name="remoteConnection2">The second of the remote connections to conference.</param>
<summary>Indicates to the relevant <c>RemoteConnectionService</c> that the specified
<c>RemoteConnection</c>s should be merged into a conference call.</summary>
<remarks>
<para>Indicates to the relevant <c>RemoteConnectionService</c> that the specified
<c>RemoteConnection</c>s should be merged into a conference call.</para>
<para>If the conference request is successful, the method <c>#onRemoteConferenceAdded</c> will
be invoked.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/telecom/ConnectionService#conferenceRemoteConnections(android.telecom.RemoteConnection,%20android.telecom.RemoteConnection)" title="Reference documentation">Java documentation for <code>android.telecom.ConnectionService.conferenceRemoteConnections(android.telecom.RemoteConnection, android.telecom.RemoteConnection)</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="ConnectionServiceFocusReleased">
<MemberSignature Language="C#" Value="public void ConnectionServiceFocusReleased ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void ConnectionServiceFocusReleased() cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Telecom.ConnectionService.ConnectionServiceFocusReleased" />
<MemberSignature Language="F#" Value="member this.ConnectionServiceFocusReleased : unit -> unit" Usage="connectionService.ConnectionServiceFocusReleased " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("connectionServiceFocusReleased", "()V", "", ApiSince=28)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("connectionServiceFocusReleased", "()V", "", ApiSince=28)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android28.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android28.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Call to inform Telecom that your <c>ConnectionService</c> has released call resources (e.</summary>
<remarks>
<para>Call to inform Telecom that your <c>ConnectionService</c> has released call resources (e.g
microphone, camera).</para>
<para>The <c>ConnectionService</c> will be disconnected when it failed to call this method within
5 seconds after <c>#onConnectionServiceFocusLost()</c> is called.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/telecom/ConnectionService#connectionServiceFocusReleased()" title="Reference documentation">Java documentation for <code>android.telecom.ConnectionService.connectionServiceFocusReleased()</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="CreateRemoteIncomingConference">
<MemberSignature Language="C#" Value="public Android.Telecom.RemoteConference? CreateRemoteIncomingConference (Android.Telecom.PhoneAccountHandle? connectionManagerPhoneAccount, Android.Telecom.ConnectionRequest? request);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Android.Telecom.RemoteConference CreateRemoteIncomingConference(class Android.Telecom.PhoneAccountHandle connectionManagerPhoneAccount, class Android.Telecom.ConnectionRequest request) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Telecom.ConnectionService.CreateRemoteIncomingConference(Android.Telecom.PhoneAccountHandle,Android.Telecom.ConnectionRequest)" />
<MemberSignature Language="F#" Value="member this.CreateRemoteIncomingConference : Android.Telecom.PhoneAccountHandle * Android.Telecom.ConnectionRequest -> Android.Telecom.RemoteConference" Usage="connectionService.CreateRemoteIncomingConference (connectionManagerPhoneAccount, request)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("createRemoteIncomingConference", "(Landroid/telecom/PhoneAccountHandle;Landroid/telecom/ConnectionRequest;)Landroid/telecom/RemoteConference;", "", ApiSince=31)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("createRemoteIncomingConference", "(Landroid/telecom/PhoneAccountHandle;Landroid/telecom/ConnectionRequest;)Landroid/telecom/RemoteConference;", "", ApiSince=31)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android31.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android31.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Telecom.RemoteConference</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="connectionManagerPhoneAccount" Type="Android.Telecom.PhoneAccountHandle" />
<Parameter Name="request" Type="Android.Telecom.ConnectionRequest" />
</Parameters>
<Docs>
<param name="connectionManagerPhoneAccount">See description at
<c>#onCreateOutgoingConnection(PhoneAccountHandle, ConnectionRequest)</c>.</param>
<param name="request">Details about the incoming conference call.</param>
<summary>Ask some other <c>ConnectionService</c> to create a <c>RemoteConference</c> given an
incoming request.</summary>
<returns>The <c>RemoteConference</c> object to satisfy this call, or <c>null</c> to not
handle the call.</returns>
<remarks>
<para>Ask some other <c>ConnectionService</c> to create a <c>RemoteConference</c> given an
incoming request. This is used by <c>ConnectionService</c>s that are registered with
<c>PhoneAccount#CAPABILITY_ADHOC_CONFERENCE_CALLING</c>.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/telecom/ConnectionService#createRemoteIncomingConference(android.telecom.PhoneAccountHandle,%20android.telecom.ConnectionRequest)" title="Reference documentation">Java documentation for <code>android.telecom.ConnectionService.createRemoteIncomingConference(android.telecom.PhoneAccountHandle, android.telecom.ConnectionRequest)</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="CreateRemoteIncomingConnection">
<MemberSignature Language="C#" Value="public Android.Telecom.RemoteConnection? CreateRemoteIncomingConnection (Android.Telecom.PhoneAccountHandle connectionManagerPhoneAccount, Android.Telecom.ConnectionRequest request);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Android.Telecom.RemoteConnection CreateRemoteIncomingConnection(class Android.Telecom.PhoneAccountHandle connectionManagerPhoneAccount, class Android.Telecom.ConnectionRequest request) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Telecom.ConnectionService.CreateRemoteIncomingConnection(Android.Telecom.PhoneAccountHandle,Android.Telecom.ConnectionRequest)" />
<MemberSignature Language="F#" Value="member this.CreateRemoteIncomingConnection : Android.Telecom.PhoneAccountHandle * Android.Telecom.ConnectionRequest -> Android.Telecom.RemoteConnection" Usage="connectionService.CreateRemoteIncomingConnection (connectionManagerPhoneAccount, request)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("createRemoteIncomingConnection", "(Landroid/telecom/PhoneAccountHandle;Landroid/telecom/ConnectionRequest;)Landroid/telecom/RemoteConnection;", "", ApiSince=23)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("createRemoteIncomingConnection", "(Landroid/telecom/PhoneAccountHandle;Landroid/telecom/ConnectionRequest;)Landroid/telecom/RemoteConnection;", "", ApiSince=23)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android23.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android23.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Telecom.RemoteConnection</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="connectionManagerPhoneAccount" Type="Android.Telecom.PhoneAccountHandle" />
<Parameter Name="request" Type="Android.Telecom.ConnectionRequest" />
</Parameters>
<Docs>
<param name="connectionManagerPhoneAccount">See description at
<c>#onCreateOutgoingConnection(PhoneAccountHandle, ConnectionRequest)</c>.</param>
<param name="request">Details about the incoming call.</param>
<summary>Ask some other <c>ConnectionService</c> to create a <c>RemoteConnection</c> given an
incoming request.</summary>
<returns>The <c>Connection</c> object to satisfy this call, or <c>null</c> to
not handle the call.</returns>
<remarks>
<para>Ask some other <c>ConnectionService</c> to create a <c>RemoteConnection</c> given an
incoming request. This is used by <c>ConnectionService</c>s that are registered with
<c>PhoneAccount#CAPABILITY_CONNECTION_MANAGER</c> and want to be able to manage
SIM-based incoming calls.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/telecom/ConnectionService#createRemoteIncomingConnection(android.telecom.PhoneAccountHandle,%20android.telecom.ConnectionRequest)" title="Reference documentation">Java documentation for <code>android.telecom.ConnectionService.createRemoteIncomingConnection(android.telecom.PhoneAccountHandle, android.telecom.ConnectionRequest)</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="CreateRemoteOutgoingConference">
<MemberSignature Language="C#" Value="public Android.Telecom.RemoteConference? CreateRemoteOutgoingConference (Android.Telecom.PhoneAccountHandle? connectionManagerPhoneAccount, Android.Telecom.ConnectionRequest? request);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Android.Telecom.RemoteConference CreateRemoteOutgoingConference(class Android.Telecom.PhoneAccountHandle connectionManagerPhoneAccount, class Android.Telecom.ConnectionRequest request) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Telecom.ConnectionService.CreateRemoteOutgoingConference(Android.Telecom.PhoneAccountHandle,Android.Telecom.ConnectionRequest)" />
<MemberSignature Language="F#" Value="member this.CreateRemoteOutgoingConference : Android.Telecom.PhoneAccountHandle * Android.Telecom.ConnectionRequest -> Android.Telecom.RemoteConference" Usage="connectionService.CreateRemoteOutgoingConference (connectionManagerPhoneAccount, request)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("createRemoteOutgoingConference", "(Landroid/telecom/PhoneAccountHandle;Landroid/telecom/ConnectionRequest;)Landroid/telecom/RemoteConference;", "", ApiSince=31)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("createRemoteOutgoingConference", "(Landroid/telecom/PhoneAccountHandle;Landroid/telecom/ConnectionRequest;)Landroid/telecom/RemoteConference;", "", ApiSince=31)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android31.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android31.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Telecom.RemoteConference</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="connectionManagerPhoneAccount" Type="Android.Telecom.PhoneAccountHandle" />
<Parameter Name="request" Type="Android.Telecom.ConnectionRequest" />
</Parameters>
<Docs>
<param name="connectionManagerPhoneAccount">See description at
<c>#onCreateOutgoingConnection(PhoneAccountHandle, ConnectionRequest)</c>.</param>
<param name="request">Details about the outgoing conference call.</param>
<summary>Ask some other <c>ConnectionService</c> to create a <c>RemoteConference</c> given an
outgoing request.</summary>
<returns>The <c>RemoteConference</c> object to satisfy this call, or <c>null</c> to not
handle the call.</returns>
<remarks>
<para>Ask some other <c>ConnectionService</c> to create a <c>RemoteConference</c> given an
outgoing request. This is used by <c>ConnectionService</c>s that are registered with
<c>PhoneAccount#CAPABILITY_ADHOC_CONFERENCE_CALLING</c>.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/telecom/ConnectionService#createRemoteOutgoingConference(android.telecom.PhoneAccountHandle,%20android.telecom.ConnectionRequest)" title="Reference documentation">Java documentation for <code>android.telecom.ConnectionService.createRemoteOutgoingConference(android.telecom.PhoneAccountHandle, android.telecom.ConnectionRequest)</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="CreateRemoteOutgoingConnection">
<MemberSignature Language="C#" Value="public Android.Telecom.RemoteConnection? CreateRemoteOutgoingConnection (Android.Telecom.PhoneAccountHandle connectionManagerPhoneAccount, Android.Telecom.ConnectionRequest request);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Android.Telecom.RemoteConnection CreateRemoteOutgoingConnection(class Android.Telecom.PhoneAccountHandle connectionManagerPhoneAccount, class Android.Telecom.ConnectionRequest request) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Telecom.ConnectionService.CreateRemoteOutgoingConnection(Android.Telecom.PhoneAccountHandle,Android.Telecom.ConnectionRequest)" />
<MemberSignature Language="F#" Value="member this.CreateRemoteOutgoingConnection : Android.Telecom.PhoneAccountHandle * Android.Telecom.ConnectionRequest -> Android.Telecom.RemoteConnection" Usage="connectionService.CreateRemoteOutgoingConnection (connectionManagerPhoneAccount, request)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("createRemoteOutgoingConnection", "(Landroid/telecom/PhoneAccountHandle;Landroid/telecom/ConnectionRequest;)Landroid/telecom/RemoteConnection;", "", ApiSince=23)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("createRemoteOutgoingConnection", "(Landroid/telecom/PhoneAccountHandle;Landroid/telecom/ConnectionRequest;)Landroid/telecom/RemoteConnection;", "", ApiSince=23)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android23.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android23.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Telecom.RemoteConnection</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="connectionManagerPhoneAccount" Type="Android.Telecom.PhoneAccountHandle" />
<Parameter Name="request" Type="Android.Telecom.ConnectionRequest" />
</Parameters>
<Docs>
<param name="connectionManagerPhoneAccount">See description at
<c>#onCreateOutgoingConnection(PhoneAccountHandle, ConnectionRequest)</c>.</param>
<param name="request">Details about the outgoing call.</param>
<summary>Ask some other <c>ConnectionService</c> to create a <c>RemoteConnection</c> given an
outgoing request.</summary>
<returns>The <c>Connection</c> object to satisfy this call, or <c>null</c> to
not handle the call.</returns>
<remarks>
<para>Ask some other <c>ConnectionService</c> to create a <c>RemoteConnection</c> given an
outgoing request. This is used by <c>ConnectionService</c>s that are registered with
<c>PhoneAccount#CAPABILITY_CONNECTION_MANAGER</c> and want to be able to use the
SIM-based <c>ConnectionService</c> to place its outgoing calls.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/telecom/ConnectionService#createRemoteOutgoingConnection(android.telecom.PhoneAccountHandle,%20android.telecom.ConnectionRequest)" title="Reference documentation">Java documentation for <code>android.telecom.ConnectionService.createRemoteOutgoingConnection(android.telecom.PhoneAccountHandle, android.telecom.ConnectionRequest)</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="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.Telecom.ConnectionService.JniPeerMembers" />
<MemberSignature Language="F#" Value="member this.JniPeerMembers : Java.Interop.JniPeerMembers" Usage="Android.Telecom.ConnectionService.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="OnBind">
<MemberSignature Language="C#" Value="public override sealed Android.OS.IBinder? OnBind (Android.Content.Intent? intent);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance class Android.OS.IBinder OnBind(class Android.Content.Intent intent) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Telecom.ConnectionService.OnBind(Android.Content.Intent)" />
<MemberSignature Language="F#" Value="override this.OnBind : Android.Content.Intent -> Android.OS.IBinder" Usage="connectionService.OnBind intent" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("onBind", "(Landroid/content/Intent;)Landroid/os/IBinder;", "", ApiSince=23)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("onBind", "(Landroid/content/Intent;)Landroid/os/IBinder;", "", ApiSince=23)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android23.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android23.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.OS.IBinder</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>To be added</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/telecom/ConnectionService#onBind(android.content.Intent)" title="Reference documentation">Java documentation for <code>android.telecom.ConnectionService.onBind(android.content.Intent)</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="OnConference">
<MemberSignature Language="C#" Value="public virtual void OnConference (Android.Telecom.Connection? connection1, Android.Telecom.Connection? connection2);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void OnConference(class Android.Telecom.Connection connection1, class Android.Telecom.Connection connection2) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Telecom.ConnectionService.OnConference(Android.Telecom.Connection,Android.Telecom.Connection)" />
<MemberSignature Language="F#" Value="abstract member OnConference : Android.Telecom.Connection * Android.Telecom.Connection -> unit
override this.OnConference : Android.Telecom.Connection * Android.Telecom.Connection -> unit" Usage="connectionService.OnConference (connection1, connection2)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("onConference", "(Landroid/telecom/Connection;Landroid/telecom/Connection;)V", "GetOnConference_Landroid_telecom_Connection_Landroid_telecom_Connection_Handler", ApiSince=23)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("onConference", "(Landroid/telecom/Connection;Landroid/telecom/Connection;)V", "GetOnConference_Landroid_telecom_Connection_Landroid_telecom_Connection_Handler", ApiSince=23)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android23.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android23.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="connection1" Type="Android.Telecom.Connection" />
<Parameter Name="connection2" Type="Android.Telecom.Connection" />
</Parameters>
<Docs>
<param name="connection1">A connection to merge into a conference call.</param>
<param name="connection2">A connection to merge into a conference call.</param>
<summary>Conference two specified connections.</summary>
<remarks>
<para>Conference two specified connections. Invoked when the user has made a request to merge the
specified connections into a conference call. In response, the connection service should
create an instance of <c>Conference</c> and pass it into <c>#addConference</c>.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/telecom/ConnectionService#onConference(android.telecom.Connection,%20android.telecom.Connection)" title="Reference documentation">Java documentation for <code>android.telecom.ConnectionService.onConference(android.telecom.Connection, android.telecom.Connection)</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="OnConnectionServiceFocusGained">
<MemberSignature Language="C#" Value="public virtual void OnConnectionServiceFocusGained ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void OnConnectionServiceFocusGained() cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Telecom.ConnectionService.OnConnectionServiceFocusGained" />
<MemberSignature Language="F#" Value="abstract member OnConnectionServiceFocusGained : unit -> unit
override this.OnConnectionServiceFocusGained : unit -> unit" Usage="connectionService.OnConnectionServiceFocusGained " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("onConnectionServiceFocusGained", "()V", "GetOnConnectionServiceFocusGainedHandler", ApiSince=28)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("onConnectionServiceFocusGained", "()V", "GetOnConnectionServiceFocusGainedHandler", ApiSince=28)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android28.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android28.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Called when the <c>ConnectionService</c> has gained the call focus.</summary>
<remarks>
<para>Called when the <c>ConnectionService</c> has gained the call focus. The
<c>ConnectionService</c> can acquire the call resources at this time.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/telecom/ConnectionService#onConnectionServiceFocusGained()" title="Reference documentation">Java documentation for <code>android.telecom.ConnectionService.onConnectionServiceFocusGained()</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="OnConnectionServiceFocusLost">
<MemberSignature Language="C#" Value="public virtual void OnConnectionServiceFocusLost ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void OnConnectionServiceFocusLost() cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Telecom.ConnectionService.OnConnectionServiceFocusLost" />
<MemberSignature Language="F#" Value="abstract member OnConnectionServiceFocusLost : unit -> unit
override this.OnConnectionServiceFocusLost : unit -> unit" Usage="connectionService.OnConnectionServiceFocusLost " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("onConnectionServiceFocusLost", "()V", "GetOnConnectionServiceFocusLostHandler", ApiSince=28)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("onConnectionServiceFocusLost", "()V", "GetOnConnectionServiceFocusLostHandler", ApiSince=28)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android28.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android28.0")>]</AttributeName>
</Attribute>
</Attributes>