-
Notifications
You must be signed in to change notification settings - Fork 0
/
CarrierConfigManager+ICarrierConfigChangeListener.xml
116 lines (113 loc) · 8.56 KB
/
CarrierConfigManager+ICarrierConfigChangeListener.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
<Type Name="CarrierConfigManager+ICarrierConfigChangeListener" FullName="Android.Telephony.CarrierConfigManager+ICarrierConfigChangeListener">
<TypeSignature Language="C#" Value="public interface CarrierConfigManager.ICarrierConfigChangeListener : Android.Runtime.IJavaObject, IDisposable, Java.Interop.IJavaPeerable" />
<TypeSignature Language="ILAsm" Value=".class nested public interface auto ansi abstract beforefieldinit CarrierConfigManager/ICarrierConfigChangeListener implements class Android.Runtime.IJavaObject, class Java.Interop.IJavaPeerable, class System.IDisposable" />
<TypeSignature Language="DocId" Value="T:Android.Telephony.CarrierConfigManager.ICarrierConfigChangeListener" />
<TypeSignature Language="F#" Value="type CarrierConfigManager.ICarrierConfigChangeListener = interface
 interface IJavaObject
 interface IDisposable
 interface IJavaPeerable" />
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Interfaces>
<Interface>
<InterfaceName>Android.Runtime.IJavaObject</InterfaceName>
</Interface>
<Interface>
<InterfaceName>Java.Interop.IJavaPeerable</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.IDisposable</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("android/telephony/CarrierConfigManager$CarrierConfigChangeListener", "", "Android.Telephony.CarrierConfigManager/ICarrierConfigChangeListenerInvoker", ApiSince=34)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("android/telephony/CarrierConfigManager$CarrierConfigChangeListener", "", "Android.Telephony.CarrierConfigManager/ICarrierConfigChangeListenerInvoker", ApiSince=34)>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Listener interface to get a notification when the carrier configurations have changed.</summary>
<remarks>
<para>Listener interface to get a notification when the carrier configurations have changed.
Use this listener to receive timely updates when the carrier configuration changes. System
components should prefer this listener over <c>#ACTION_CARRIER_CONFIG_CHANGED</c>
whenever possible.
To register the listener, call
<c>#registerCarrierConfigChangeListener(Executor, CarrierConfigChangeListener)</c>.
To unregister, call
<c>#unregisterCarrierConfigChangeListener(CarrierConfigChangeListener)</c>.
Note that on registration, registrants will NOT receive a notification on last carrier config
change. Only carrier configs change AFTER the registration will be sent to registrants. And
unlike <c>#ACTION_CARRIER_CONFIG_CHANGED</c>, notification wouldn't send when the device is
unlocked. Registrants only receive the notification when there has been real carrier config
changes.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/telephony/CarrierConfigManager.CarrierConfigChangeListener" title="Reference documentation">Java documentation for <code>android.telephony.CarrierConfigManager.CarrierConfigChangeListener</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="OnCarrierConfigChanged">
<MemberSignature Language="C#" Value="public void OnCarrierConfigChanged (int logicalSlotIndex, int subscriptionId, int carrierId, int specificCarrierId);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void OnCarrierConfigChanged(int32 logicalSlotIndex, int32 subscriptionId, int32 carrierId, int32 specificCarrierId) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Telephony.CarrierConfigManager.ICarrierConfigChangeListener.OnCarrierConfigChanged(System.Int32,System.Int32,System.Int32,System.Int32)" />
<MemberSignature Language="F#" Value="abstract member OnCarrierConfigChanged : int * int * int * int -> unit" Usage="iCarrierConfigChangeListener.OnCarrierConfigChanged (logicalSlotIndex, subscriptionId, carrierId, specificCarrierId)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("onCarrierConfigChanged", "(IIII)V", "GetOnCarrierConfigChanged_IIIIHandler:Android.Telephony.CarrierConfigManager/ICarrierConfigChangeListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=34)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("onCarrierConfigChanged", "(IIII)V", "GetOnCarrierConfigChanged_IIIIHandler:Android.Telephony.CarrierConfigManager/ICarrierConfigChangeListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=34)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android34.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android34.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="logicalSlotIndex" Type="System.Int32" />
<Parameter Name="subscriptionId" Type="System.Int32" />
<Parameter Name="carrierId" Type="System.Int32" />
<Parameter Name="specificCarrierId" Type="System.Int32" />
</Parameters>
<Docs>
<param name="logicalSlotIndex">The logical SIM slot index on which to monitor and get
notification. It is guaranteed to be valid.</param>
<param name="subscriptionId">The subscription on the SIM slot. May be
<c>SubscriptionManager#INVALID_SUBSCRIPTION_ID</c>.</param>
<param name="carrierId">The optional carrier Id, may be
<c>TelephonyManager#UNKNOWN_CARRIER_ID</c>.
See <c>TelephonyManager#getSimCarrierId()</c>.</param>
<param name="specificCarrierId">The optional fine-grained carrierId, may be <c>TelephonyManager#UNKNOWN_CARRIER_ID</c>. A specific carrierId may
be different from the carrierId above in a MVNO scenario. See
detail in <c>TelephonyManager#getSimSpecificCarrierId()</c>.</param>
<summary>Called when carrier configurations have changed.</summary>
<remarks>
<para>Called when carrier configurations have changed.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/telephony/CarrierConfigManager.CarrierConfigChangeListener#onCarrierConfigChanged(int,%20int,%20int,%20int)" title="Reference documentation">Java documentation for <code>android.telephony.CarrierConfigManager.CarrierConfigChangeListener.onCarrierConfigChanged(int, int, int, int)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
</Members>
</Type>