-
Notifications
You must be signed in to change notification settings - Fork 0
/
TelephonyCallback+ICarrierNetworkListener.xml
102 lines (102 loc) · 7.13 KB
/
TelephonyCallback+ICarrierNetworkListener.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
<Type Name="TelephonyCallback+ICarrierNetworkListener" FullName="Android.Telephony.TelephonyCallback+ICarrierNetworkListener">
<TypeSignature Language="C#" Value="public interface TelephonyCallback.ICarrierNetworkListener : Android.Runtime.IJavaObject, IDisposable, Java.Interop.IJavaPeerable" />
<TypeSignature Language="ILAsm" Value=".class nested public interface auto ansi abstract beforefieldinit TelephonyCallback/ICarrierNetworkListener implements class Android.Runtime.IJavaObject, class Java.Interop.IJavaPeerable, class System.IDisposable" />
<TypeSignature Language="DocId" Value="T:Android.Telephony.TelephonyCallback.ICarrierNetworkListener" />
<TypeSignature Language="F#" Value="type TelephonyCallback.ICarrierNetworkListener = 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$CarrierNetworkListener", "", "Android.Telephony.TelephonyCallback/ICarrierNetworkListenerInvoker", ApiSince=31)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("android/telephony/TelephonyCallback$CarrierNetworkListener", "", "Android.Telephony.TelephonyCallback/ICarrierNetworkListenerInvoker", ApiSince=31)>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Interface for carrier network listener.</summary>
<remarks>
<para>Interface for carrier network listener.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/telephony/TelephonyCallback.CarrierNetworkListener" title="Reference documentation">Java documentation for <code>android.telephony.TelephonyCallback.CarrierNetworkListener</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="OnCarrierNetworkChange">
<MemberSignature Language="C#" Value="public void OnCarrierNetworkChange (bool active);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void OnCarrierNetworkChange(bool active) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Telephony.TelephonyCallback.ICarrierNetworkListener.OnCarrierNetworkChange(System.Boolean)" />
<MemberSignature Language="F#" Value="abstract member OnCarrierNetworkChange : bool -> unit" Usage="iCarrierNetworkListener.OnCarrierNetworkChange active" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("onCarrierNetworkChange", "(Z)V", "GetOnCarrierNetworkChange_ZHandler:Android.Telephony.TelephonyCallback/ICarrierNetworkListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=31)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("onCarrierNetworkChange", "(Z)V", "GetOnCarrierNetworkChange_ZHandler:Android.Telephony.TelephonyCallback/ICarrierNetworkListenerInvoker, 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="active" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="active">If the carrier network change is or shortly will be active,
<c>true</c> indicate that showing alternative UI, <c>false</c> otherwise.</param>
<summary>Callback invoked when telephony has received notice from a carrier
app that a network action that could result in connectivity loss
has been requested by an app using
<c>android.service.carrier.CarrierService#notifyCarrierNetworkChange(boolean)</c></summary>
<remarks>
<para>Callback invoked when telephony has received notice from a carrier
app that a network action that could result in connectivity loss
has been requested by an app using
<c>android.service.carrier.CarrierService#notifyCarrierNetworkChange(boolean)</c></para>
<para>This 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>Note, this callback is pinned to the registered subscription and will be invoked when
the notifying carrier app has carrier privilege rule on the registered
subscription. <c>android.telephony.TelephonyManager#hasCarrierPrivileges</c></para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/telephony/TelephonyCallback.CarrierNetworkListener#onCarrierNetworkChange(boolean)" title="Reference documentation">Java documentation for <code>android.telephony.TelephonyCallback.CarrierNetworkListener.onCarrierNetworkChange(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>
</Members>
</Type>