/
MediaRouter2+IOnGetControllerHintsListener.xml
98 lines (98 loc) · 7.34 KB
/
MediaRouter2+IOnGetControllerHintsListener.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
<Type Name="MediaRouter2+IOnGetControllerHintsListener" FullName="Android.Media.MediaRouter2+IOnGetControllerHintsListener">
<TypeSignature Language="C#" Value="public interface MediaRouter2.IOnGetControllerHintsListener : Android.Runtime.IJavaObject, IDisposable, Java.Interop.IJavaPeerable" />
<TypeSignature Language="ILAsm" Value=".class nested public interface auto ansi abstract beforefieldinit MediaRouter2/IOnGetControllerHintsListener implements class Android.Runtime.IJavaObject, class Java.Interop.IJavaPeerable, class System.IDisposable" />
<TypeSignature Language="DocId" Value="T:Android.Media.MediaRouter2.IOnGetControllerHintsListener" />
<TypeSignature Language="F#" Value="type MediaRouter2.IOnGetControllerHintsListener = 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/media/MediaRouter2$OnGetControllerHintsListener", "", "Android.Media.MediaRouter2/IOnGetControllerHintsListenerInvoker", ApiSince=30)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("android/media/MediaRouter2$OnGetControllerHintsListener", "", "Android.Media.MediaRouter2/IOnGetControllerHintsListenerInvoker", ApiSince=30)>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>A listener interface to send optional app-specific hints when creating a <c>RoutingController</c>.</summary>
<remarks>
<para>A listener interface to send optional app-specific hints when creating a <c>RoutingController</c>.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/media/MediaRouter2.OnGetControllerHintsListener" title="Reference documentation">Java documentation for <code>android.media.MediaRouter2.OnGetControllerHintsListener</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="OnGetControllerHints">
<MemberSignature Language="C#" Value="public Android.OS.Bundle? OnGetControllerHints (Android.Media.MediaRoute2Info route);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Android.OS.Bundle OnGetControllerHints(class Android.Media.MediaRoute2Info route) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Media.MediaRouter2.IOnGetControllerHintsListener.OnGetControllerHints(Android.Media.MediaRoute2Info)" />
<MemberSignature Language="F#" Value="abstract member OnGetControllerHints : Android.Media.MediaRoute2Info -> Android.OS.Bundle" Usage="iOnGetControllerHintsListener.OnGetControllerHints route" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("onGetControllerHints", "(Landroid/media/MediaRoute2Info;)Landroid/os/Bundle;", "GetOnGetControllerHints_Landroid_media_MediaRoute2Info_Handler:Android.Media.MediaRouter2/IOnGetControllerHintsListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=30)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("onGetControllerHints", "(Landroid/media/MediaRoute2Info;)Landroid/os/Bundle;", "GetOnGetControllerHints_Landroid_media_MediaRoute2Info_Handler:Android.Media.MediaRouter2/IOnGetControllerHintsListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=30)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android30.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android30.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.OS.Bundle</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="route" Type="Android.Media.MediaRoute2Info" />
</Parameters>
<Docs>
<param name="route">the route to create a controller with</param>
<summary>Called when the <c>MediaRouter2</c> or the system is about to request a media route
provider service to create a controller with the given route.</summary>
<returns>An optional bundle of app-specific arguments to send to the provider, or <c>null</c> if none. The contents of this bundle may affect the result of controller
creation.</returns>
<remarks>
<para>Called when the <c>MediaRouter2</c> or the system is about to request a media route
provider service to create a controller with the given route. The <c>Bundle</c> returned
here will be sent to media route provider service as a hint.</para>
<para>Since controller creation can be requested by the <c>MediaRouter2</c> and the system,
set the listener as soon as possible after acquiring <c>MediaRouter2</c> instance. The
method will be called on the same thread that calls <c>#transferTo(MediaRoute2Info)</c>
or the main thread if it is requested by the system.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/media/MediaRouter2.OnGetControllerHintsListener#onGetControllerHints(android.media.MediaRoute2Info)" title="Reference documentation">Java documentation for <code>android.media.MediaRouter2.OnGetControllerHintsListener.onGetControllerHints(android.media.MediaRoute2Info)</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>