-
Notifications
You must be signed in to change notification settings - Fork 0
/
MediaPlayer+IOnErrorListener.xml
111 lines (111 loc) · 7.26 KB
/
MediaPlayer+IOnErrorListener.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
<Type Name="MediaPlayer+IOnErrorListener" FullName="Android.Media.MediaPlayer+IOnErrorListener">
<TypeSignature Language="C#" Value="public interface MediaPlayer.IOnErrorListener : Android.Runtime.IJavaObject, IDisposable, Java.Interop.IJavaPeerable" />
<TypeSignature Language="ILAsm" Value=".class nested public interface auto ansi abstract beforefieldinit MediaPlayer/IOnErrorListener implements class Android.Runtime.IJavaObject, class Java.Interop.IJavaPeerable, class System.IDisposable" />
<TypeSignature Language="DocId" Value="T:Android.Media.MediaPlayer.IOnErrorListener" />
<TypeSignature Language="F#" Value="type MediaPlayer.IOnErrorListener = 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/MediaPlayer$OnErrorListener", "", "Android.Media.MediaPlayer/IOnErrorListenerInvoker")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("android/media/MediaPlayer$OnErrorListener", "", "Android.Media.MediaPlayer/IOnErrorListenerInvoker")>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Interface definition of a callback to be invoked when there
has been an error during an asynchronous operation (other errors
will throw exceptions at method call time).</summary>
<remarks>
<para>Interface definition of a callback to be invoked when there
has been an error during an asynchronous operation (other errors
will throw exceptions at method call time).</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/media/MediaPlayer.OnErrorListener" title="Reference documentation">Java documentation for <code>android.media.MediaPlayer.OnErrorListener</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>
<since version="Added in API level 1" />
</Docs>
<Members>
<Member MemberName="OnError">
<MemberSignature Language="C#" Value="public bool OnError (Android.Media.MediaPlayer? mp, Android.Media.MediaError what, int extra);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool OnError(class Android.Media.MediaPlayer mp, valuetype Android.Media.MediaError what, int32 extra) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Media.MediaPlayer.IOnErrorListener.OnError(Android.Media.MediaPlayer,Android.Media.MediaError,System.Int32)" />
<MemberSignature Language="F#" Value="abstract member OnError : Android.Media.MediaPlayer * Android.Media.MediaError * int -> bool" Usage="iOnErrorListener.OnError (mp, what, extra)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("onError", "(Landroid/media/MediaPlayer;II)Z", "GetOnError_Landroid_media_MediaPlayer_IIHandler:Android.Media.MediaPlayer/IOnErrorListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("onError", "(Landroid/media/MediaPlayer;II)Z", "GetOnError_Landroid_media_MediaPlayer_IIHandler:Android.Media.MediaPlayer/IOnErrorListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="mp" Type="Android.Media.MediaPlayer" />
<Parameter Name="what" Type="Android.Media.MediaError">
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.GeneratedEnum]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.GeneratedEnum>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
<Parameter Name="extra" Type="System.Int32" />
</Parameters>
<Docs>
<param name="mp">the MediaPlayer the error pertains to</param>
<param name="what">the type of error that has occurred:
<ul>
<li><c>#MEDIA_ERROR_UNKNOWN</c><li><c>#MEDIA_ERROR_SERVER_DIED</c></ul></param>
<param name="extra">an extra code, specific to the error. Typically
implementation dependent.
<ul>
<li><c>#MEDIA_ERROR_IO</c><li><c>#MEDIA_ERROR_MALFORMED</c><li><c>#MEDIA_ERROR_UNSUPPORTED</c><li><c>#MEDIA_ERROR_TIMED_OUT</c><li><c>MEDIA_ERROR_SYSTEM (-2147483648)</c> - low-level system error.
</ul></param>
<summary>Called to indicate an error.</summary>
<returns>True if the method handled the error, false if it didn't.
Returning false, or not having an OnErrorListener at all, will
cause the OnCompletionListener to be called.</returns>
<remarks>
<para>Called to indicate an error.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/media/MediaPlayer.OnErrorListener#onError(android.media.MediaPlayer,%20int,%20int)" title="Reference documentation">Java documentation for <code>android.media.MediaPlayer.OnErrorListener.onError(android.media.MediaPlayer, 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>
<since version="Added in API level 1" />
</Docs>
</Member>
</Members>
</Type>