-
Notifications
You must be signed in to change notification settings - Fork 0
/
IRetention.xml
96 lines (96 loc) · 5.81 KB
/
IRetention.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
<Type Name="IRetention" FullName="Java.Lang.Annotation.IRetention">
<TypeSignature Language="C#" Value="public interface IRetention : IDisposable, Java.Interop.IJavaPeerable, Java.Lang.Annotation.IAnnotation" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract beforefieldinit IRetention implements class Android.Runtime.IJavaObject, class Java.Interop.IJavaPeerable, class Java.Lang.Annotation.IAnnotation, class System.IDisposable" />
<TypeSignature Language="DocId" Value="T:Java.Lang.Annotation.IRetention" />
<TypeSignature Language="F#" Value="type IRetention = interface
 interface IAnnotation
 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>Java.Lang.Annotation.IAnnotation</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.IDisposable</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("java/lang/annotation/Retention", "", "Java.Lang.Annotation.IRetentionInvoker")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("java/lang/annotation/Retention", "", "Java.Lang.Annotation.IRetentionInvoker")>]</AttributeName>
</Attribute>
</Attributes>
<Docs since="1">
<summary>Indicates how long annotations with the annotated interface are to
be retained.</summary>
<remarks>
<para>Indicates how long annotations with the annotated interface are to
be retained. If no Retention annotation is present on
an annotation interface declaration, the retention policy defaults to
<c>RetentionPolicy.CLASS</c>.</para>
<para>A Retention meta-annotation has effect only if the
meta-annotated interface is used directly for annotation. It has no
effect if the meta-annotated interface is used as a member interface in
another annotation interface.</para>
<para>Added in 1.5.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/lang/annotation/Retention" title="Reference documentation">Java documentation for <code>java.lang.annotation.Retention</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="Value">
<MemberSignature Language="C#" Value="public Java.Lang.Annotation.RetentionPolicy? Value ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Java.Lang.Annotation.RetentionPolicy Value() cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Lang.Annotation.IRetention.Value" />
<MemberSignature Language="F#" Value="abstract member Value : unit -> Java.Lang.Annotation.RetentionPolicy" Usage="iRetention.Value " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("value", "()Ljava/lang/annotation/RetentionPolicy;", "GetValueHandler:Java.Lang.Annotation.IRetentionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("value", "()Ljava/lang/annotation/RetentionPolicy;", "GetValueHandler:Java.Lang.Annotation.IRetentionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Java.Lang.Annotation.RetentionPolicy</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Returns the retention policy.</summary>
<returns>the retention policy</returns>
<remarks>
<para>Returns the retention policy.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/lang/annotation/Retention#value()" title="Reference documentation">Java documentation for <code>java.lang.annotation.Retention.value()</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>