/
TelephonyCallback+IServiceStateListener.xml
104 lines (104 loc) · 7.57 KB
/
TelephonyCallback+IServiceStateListener.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
<Type Name="TelephonyCallback+IServiceStateListener" FullName="Android.Telephony.TelephonyCallback+IServiceStateListener">
<TypeSignature Language="C#" Value="public interface TelephonyCallback.IServiceStateListener : Android.Runtime.IJavaObject, IDisposable, Java.Interop.IJavaPeerable" />
<TypeSignature Language="ILAsm" Value=".class nested public interface auto ansi abstract beforefieldinit TelephonyCallback/IServiceStateListener implements class Android.Runtime.IJavaObject, class Java.Interop.IJavaPeerable, class System.IDisposable" />
<TypeSignature Language="DocId" Value="T:Android.Telephony.TelephonyCallback.IServiceStateListener" />
<TypeSignature Language="F#" Value="type TelephonyCallback.IServiceStateListener = 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/TelephonyCallback$ServiceStateListener", "", "Android.Telephony.TelephonyCallback/IServiceStateListenerInvoker", ApiSince=31)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("android/telephony/TelephonyCallback$ServiceStateListener", "", "Android.Telephony.TelephonyCallback/IServiceStateListenerInvoker", ApiSince=31)>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Interface for service state listener.</summary>
<remarks>
<para>Interface for service state listener.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/telephony/TelephonyCallback.ServiceStateListener" title="Reference documentation">Java documentation for <code>android.telephony.TelephonyCallback.ServiceStateListener</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="OnServiceStateChanged">
<MemberSignature Language="C#" Value="public void OnServiceStateChanged (Android.Telephony.ServiceState serviceState);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void OnServiceStateChanged(class Android.Telephony.ServiceState serviceState) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Telephony.TelephonyCallback.IServiceStateListener.OnServiceStateChanged(Android.Telephony.ServiceState)" />
<MemberSignature Language="F#" Value="abstract member OnServiceStateChanged : Android.Telephony.ServiceState -> unit" Usage="iServiceStateListener.OnServiceStateChanged serviceState" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("onServiceStateChanged", "(Landroid/telephony/ServiceState;)V", "GetOnServiceStateChanged_Landroid_telephony_ServiceState_Handler:Android.Telephony.TelephonyCallback/IServiceStateListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=31)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("onServiceStateChanged", "(Landroid/telephony/ServiceState;)V", "GetOnServiceStateChanged_Landroid_telephony_ServiceState_Handler:Android.Telephony.TelephonyCallback/IServiceStateListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", 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>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="serviceState" Type="Android.Telephony.ServiceState" />
</Parameters>
<Docs>
<param name="serviceState">To be added.</param>
<summary>Callback invoked when device service state changes on the registered subscription.</summary>
<remarks>
<para>Callback invoked when device service state changes on the registered subscription.
Note, the registration subscription ID comes from <c>TelephonyManager</c> object
which registers TelephonyCallback by
<c>TelephonyManager#registerTelephonyCallback(Executor, TelephonyCallback)</c>.
If this TelephonyManager object was created with
<c>TelephonyManager#createForSubscriptionId(int)</c>, then the callback applies to the
subscription ID. Otherwise, this callback applies to
<c>SubscriptionManager#getDefaultSubscriptionId()</c>.</para>
<para>The instance of <c>ServiceState</c> passed as an argument here will have various
levels of location information stripped from it depending on the location permissions
that your app holds.
Only apps holding the <c>Manifest.permission#ACCESS_FINE_LOCATION</c> permission will
receive all the information in <c>ServiceState</c>, otherwise the cellIdentity
will be null if apps only holding the <c>Manifest.permission#ACCESS_COARSE_LOCATION</c>
permission. Network operator name in long/short alphanumeric format and numeric id will
be null if apps holding neither <c>android.Manifest.permission#ACCESS_FINE_LOCATION</c></para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/telephony/TelephonyCallback.ServiceStateListener#onServiceStateChanged(android.telephony.ServiceState)" title="Reference documentation">Java documentation for <code>android.telephony.TelephonyCallback.ServiceStateListener.onServiceStateChanged(android.telephony.ServiceState)</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>