-
Notifications
You must be signed in to change notification settings - Fork 0
/
CarrierService.xml
540 lines (540 loc) · 38.1 KB
/
CarrierService.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
<Type Name="CarrierService" FullName="Android.Service.Carrier.CarrierService">
<TypeSignature Language="C#" Value="public abstract class CarrierService : Android.App.Service" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi abstract beforefieldinit CarrierService extends Android.App.Service" />
<TypeSignature Language="DocId" Value="T:Android.Service.Carrier.CarrierService" />
<TypeSignature Language="F#" Value="type CarrierService = 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/service/carrier/CarrierService", ApiSince=23, DoNotGenerateAcw=true)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("android/service/carrier/CarrierService", 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>A service that exposes carrier-specific functionality to the system.</summary>
<remarks>
<para>A service that exposes carrier-specific functionality to the system.</para>
<para>To extend this class, you must declare the service in your manifest file to require the
<c>android.Manifest.permission#BIND_CARRIER_SERVICES</c> permission and include an intent
filter with the <c>#CARRIER_SERVICE_INTERFACE</c>. If the service should have a long-lived
binding, set <c>android.service.carrier.LONG_LIVED_BINDING</c> to <c>true</c> in the
service's metadata. For example:</para>
<code lang="text/java">{@code
<service android:name=".MyCarrierService"
android:label="@string/service_name"
android:permission="android.permission.BIND_CARRIER_SERVICES">
<intent-filter>
<action android:name="android.service.carrier.CarrierService" />
</intent-filter>
<meta-data android:name="android.service.carrier.LONG_LIVED_BINDING"
android:value="true" />
</service>
}</code>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/service/carrier/CarrierService" title="Reference documentation">Java documentation for <code>android.service.carrier.CarrierService</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 CarrierService ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Service.Carrier.CarrierService.#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 CarrierService (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.Service.Carrier.CarrierService.#ctor(System.IntPtr,Android.Runtime.JniHandleOwnership)" />
<MemberSignature Language="F#" Value="new Android.Service.Carrier.CarrierService : nativeint * Android.Runtime.JniHandleOwnership -> Android.Service.Carrier.CarrierService" Usage="new Android.Service.Carrier.CarrierService (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="CarrierServiceInterface">
<MemberSignature Language="C#" Value="public const string CarrierServiceInterface;" />
<MemberSignature Language="ILAsm" Value=".field public static literal string CarrierServiceInterface" />
<MemberSignature Language="DocId" Value="F:Android.Service.Carrier.CarrierService.CarrierServiceInterface" />
<MemberSignature Language="F#" Value="val mutable CarrierServiceInterface : string" Usage="Android.Service.Carrier.CarrierService.CarrierServiceInterface" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("CARRIER_SERVICE_INTERFACE", ApiSince=23)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("CARRIER_SERVICE_INTERFACE", 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.String</ReturnType>
</ReturnValue>
<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="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.Service.Carrier.CarrierService.JniPeerMembers" />
<MemberSignature Language="F#" Value="member this.JniPeerMembers : Java.Interop.JniPeerMembers" Usage="Android.Service.Carrier.CarrierService.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="NotifyCarrierNetworkChange">
<MemberSignature Language="C#" Value="public void NotifyCarrierNetworkChange (bool active);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void NotifyCarrierNetworkChange(bool active) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Service.Carrier.CarrierService.NotifyCarrierNetworkChange(System.Boolean)" />
<MemberSignature Language="F#" Value="member this.NotifyCarrierNetworkChange : bool -> unit" Usage="carrierService.NotifyCarrierNetworkChange active" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("notifyCarrierNetworkChange", "(Z)V", "", ApiSince=23)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("notifyCarrierNetworkChange", "(Z)V", "", ApiSince=23)>]</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("android23.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android23.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="active" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="active">Whether the carrier network change is or shortly will be
active. Set this value to true to begin showing
alternative UI and false to stop.</param>
<summary>Informs the system of an intentional upcoming carrier network change by
a carrier app.</summary>
<remarks>
<para>Informs the system of an intentional upcoming carrier network change by
a carrier app. This call is optional and is only used to allow the
system to provide alternative UI while telephony is performing an action
that may result in intentional, temporary network lack of connectivity.</para>
<para>Based on the active parameter passed in, this method will either show or
hide the alternative UI. There is no timeout associated with showing
this UX, so a carrier app must be sure to call with active set to false
sometime after calling with it set to true.</para>
<para>Requires Permission: calling app has carrier privileges.</para>
<para>This member is deprecated. use <c>#notifyCarrierNetworkChange(int, boolean)</c> instead.
With no parameter to specify the subscription, this API will
apply to all subscriptions that the carrier app has carrier
privileges on.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/service/carrier/CarrierService#notifyCarrierNetworkChange(boolean)" title="Reference documentation">Java documentation for <code>android.service.carrier.CarrierService.notifyCarrierNetworkChange(boolean)</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="NotifyCarrierNetworkChange">
<MemberSignature Language="C#" Value="public void NotifyCarrierNetworkChange (int subscriptionId, bool active);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void NotifyCarrierNetworkChange(int32 subscriptionId, bool active) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Service.Carrier.CarrierService.NotifyCarrierNetworkChange(System.Int32,System.Boolean)" />
<MemberSignature Language="F#" Value="member this.NotifyCarrierNetworkChange : int * bool -> unit" Usage="carrierService.NotifyCarrierNetworkChange (subscriptionId, active)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("notifyCarrierNetworkChange", "(IZ)V", "", ApiSince=33)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("notifyCarrierNetworkChange", "(IZ)V", "", 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="subscriptionId" Type="System.Int32" />
<Parameter Name="active" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="subscriptionId">the subscription of the carrier network that trigger the change.</param>
<param name="active">whether the carrier network change is or shortly will be active. Set this
value to true to begin showing alternative UI and false to stop.</param>
<summary>Informs the system of an intentional upcoming carrier network change by a carrier app on the
given <c>subscriptionId</c>.</summary>
<remarks>
<para>Informs the system of an intentional upcoming carrier network change by a carrier app on the
given <c>subscriptionId</c>. This call is optional and is only used to allow the system to
provide alternative UI while telephony is performing an action that may result in
intentional, temporary network lack of connectivity.</para>
<para>Based on the active parameter passed in, this method will either show or hide the
alternative UI. There is no timeout associated with showing this UX, so a carrier app must
be sure to call with active set to false sometime after calling with it set to true.</para>
<para>Requires Permission: calling app has carrier privileges.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/service/carrier/CarrierService#notifyCarrierNetworkChange(int,%20boolean)" title="Reference documentation">Java documentation for <code>android.service.carrier.CarrierService.notifyCarrierNetworkChange(int, boolean)</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="OnBind">
<MemberSignature Language="C#" Value="public override 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.Service.Carrier.CarrierService.OnBind(Android.Content.Intent)" />
<MemberSignature Language="F#" Value="override this.OnBind : Android.Content.Intent -> Android.OS.IBinder" Usage="carrierService.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;", "GetOnBind_Landroid_content_Intent_Handler", ApiSince=23)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("onBind", "(Landroid/content/Intent;)Landroid/os/IBinder;", "GetOnBind_Landroid_content_Intent_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>Android.OS.IBinder</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="intent" Type="Android.Content.Intent" />
</Parameters>
<Docs>
<param name="intent">To be added.</param>
<summary>If overriding this method, call through to the super method for any unknown actions.</summary>
<returns>To be added.</returns>
<remarks>
<para>If overriding this method, call through to the super method for any unknown actions.
To be added</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/service/carrier/CarrierService#onBind(android.content.Intent)" title="Reference documentation">Java documentation for <code>android.service.carrier.CarrierService.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="OnLoadConfig">
<MemberSignature Language="C#" Value="public abstract Android.OS.PersistableBundle? OnLoadConfig (Android.Service.Carrier.CarrierIdentifier? id);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Android.OS.PersistableBundle OnLoadConfig(class Android.Service.Carrier.CarrierIdentifier id) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Service.Carrier.CarrierService.OnLoadConfig(Android.Service.Carrier.CarrierIdentifier)" />
<MemberSignature Language="F#" Value="abstract member OnLoadConfig : Android.Service.Carrier.CarrierIdentifier -> Android.OS.PersistableBundle" Usage="carrierService.OnLoadConfig id" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("onLoadConfig", "(Landroid/service/carrier/CarrierIdentifier;)Landroid/os/PersistableBundle;", "GetOnLoadConfig_Landroid_service_carrier_CarrierIdentifier_Handler", ApiSince=23)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("onLoadConfig", "(Landroid/service/carrier/CarrierIdentifier;)Landroid/os/PersistableBundle;", "GetOnLoadConfig_Landroid_service_carrier_CarrierIdentifier_Handler", ApiSince=23)>]</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("android23.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android23.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.OS.PersistableBundle</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="id" Type="Android.Service.Carrier.CarrierIdentifier" />
</Parameters>
<Docs>
<param name="id">contains details about the current carrier that can be used to decide what
configuration values to return. Instead of using details like MCCMNC to decide
current carrier, it also contains subscription carrier id
<c>android.telephony.TelephonyManager#getSimCarrierId()</c>, a platform-wide
unique identifier for each carrier, CarrierConfigService can directly use carrier
id as the key to look up the carrier info.</param>
<summary>Override this method to set carrier configuration.</summary>
<returns>a <c>PersistableBundle</c> object containing the configuration or null if default
values should be used.</returns>
<remarks>
<para>Override this method to set carrier configuration.</para>
<para>This method will be called by telephony services to get carrier-specific configuration
values. The returned config will be saved by the system until,
<ol>
<li>The carrier app package is updated, or</li>
<li>The carrier app requests a reload with
<c>android.telephony.CarrierConfigManager#notifyConfigChangedForSubId
notifyConfigChangedForSubId</c>.</li>
</ol>
This method can be called after a SIM card loads, which may be before or after boot.</para>
<para>This method should not block for a long time. If expensive operations (e.g. network access)
are required, this method can schedule the work and return null. Then, use
<c>android.telephony.CarrierConfigManager#notifyConfigChangedForSubId
notifyConfigChangedForSubId</c> to trigger a reload when the config is ready.</para>
<para>Implementations should use the keys defined in <c>android.telephony.CarrierConfigManager
CarrierConfigManager</c>. Any configuration values not set in the returned <c>PersistableBundle</c> may be overridden by the system's default configuration service.</para>
<para>This member is deprecated. use <c>#onLoadConfig(int, CarrierIdentifier)</c> instead.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/service/carrier/CarrierService#onLoadConfig(android.service.carrier.CarrierIdentifier)" title="Reference documentation">Java documentation for <code>android.service.carrier.CarrierService.onLoadConfig(android.service.carrier.CarrierIdentifier)</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="OnLoadConfig">
<MemberSignature Language="C#" Value="public virtual Android.OS.PersistableBundle? OnLoadConfig (int subscriptionId, Android.Service.Carrier.CarrierIdentifier? id);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Android.OS.PersistableBundle OnLoadConfig(int32 subscriptionId, class Android.Service.Carrier.CarrierIdentifier id) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Service.Carrier.CarrierService.OnLoadConfig(System.Int32,Android.Service.Carrier.CarrierIdentifier)" />
<MemberSignature Language="F#" Value="abstract member OnLoadConfig : int * Android.Service.Carrier.CarrierIdentifier -> Android.OS.PersistableBundle
override this.OnLoadConfig : int * Android.Service.Carrier.CarrierIdentifier -> Android.OS.PersistableBundle" Usage="carrierService.OnLoadConfig (subscriptionId, id)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("onLoadConfig", "(ILandroid/service/carrier/CarrierIdentifier;)Landroid/os/PersistableBundle;", "GetOnLoadConfig_ILandroid_service_carrier_CarrierIdentifier_Handler", ApiSince=33)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("onLoadConfig", "(ILandroid/service/carrier/CarrierIdentifier;)Landroid/os/PersistableBundle;", "GetOnLoadConfig_ILandroid_service_carrier_CarrierIdentifier_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>Android.OS.PersistableBundle</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="subscriptionId" Type="System.Int32" />
<Parameter Name="id" Type="Android.Service.Carrier.CarrierIdentifier" />
</Parameters>
<Docs>
<param name="subscriptionId">the subscription on which the carrier app should load configuration</param>
<param name="id">contains details about the current carrier that can be used to decide what
configuration values to return. Instead of using details like MCCMNC to decide
current carrier, it also contains subscription carrier id
<c>android.telephony.TelephonyManager#getSimCarrierId()</c>, a platform-wide
unique identifier for each carrier, CarrierConfigService can directly use carrier
id as the key to look up the carrier info.</param>
<summary>Override this method to set carrier configuration on the given <c>subscriptionId</c>.</summary>
<returns>a <c>PersistableBundle</c> object containing the configuration or null if default
values should be used.</returns>
<remarks>
<para>Override this method to set carrier configuration on the given <c>subscriptionId</c>.</para>
<para>This method will be called by telephony services to get carrier-specific configuration
values. The returned config will be saved by the system until,
<ol>
<li>The carrier app package is updated, or</li>
<li>The carrier app requests a reload with
<c>android.telephony.CarrierConfigManager#notifyConfigChangedForSubId
notifyConfigChangedForSubId</c>.</li>
</ol>
This method can be called after a SIM card loads, which may be before or after boot.</para>
<para>This method should not block for a long time. If expensive operations (e.g. network access)
are required, this method can schedule the work and return null. Then, use
<c>android.telephony.CarrierConfigManager#notifyConfigChangedForSubId
notifyConfigChangedForSubId</c> to trigger a reload when the config is ready.</para>
<para>Implementations should use the keys defined in <c>android.telephony.CarrierConfigManager
CarrierConfigManager</c>. Any configuration values not set in the returned <c>PersistableBundle</c> may be overridden by the system's default configuration service.</para>
<para>By default, this method just calls <c>#onLoadConfig(CarrierIdentifier)</c> with specified
CarrierIdentifier <c>id</c>. Carrier app with target SDK
<c>android.os.Build.VERSION_CODES#TIRAMISU</c> and above should override this method to
load carrier configuration on the given <c>subscriptionId</c>.
Note that <c>#onLoadConfig(CarrierIdentifier)</c> is still called prior to
<c>android.os.Build.VERSION_CODES#TIRAMISU</c>.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/service/carrier/CarrierService#onLoadConfig(int,%20android.service.carrier.CarrierIdentifier)" title="Reference documentation">Java documentation for <code>android.service.carrier.CarrierService.onLoadConfig(int, android.service.carrier.CarrierIdentifier)</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.Service.Carrier.CarrierService.ThresholdClass" />
<MemberSignature Language="F#" Value="member this.ThresholdClass : nativeint" Usage="Android.Service.Carrier.CarrierService.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.Service.Carrier.CarrierService.ThresholdType" />
<MemberSignature Language="F#" Value="member this.ThresholdType : Type" Usage="Android.Service.Carrier.CarrierService.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>