Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Permalink
live
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
<Type Name="ComponentCallbacks2" FullName="Android.Content.ComponentCallbacks2">
<TypeSignature Language="C#" Value="public abstract class ComponentCallbacks2 : Java.Lang.Object" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi abstract beforefieldinit ComponentCallbacks2 extends Java.Lang.Object" />
<TypeSignature Language="DocId" Value="T:Android.Content.ComponentCallbacks2" />
<TypeSignature Language="F#" Value="type ComponentCallbacks2 = class&#xA; inherit Object" />
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>Java.Lang.Object</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("android/content/ComponentCallbacks2", DoNotGenerateAcw=true)]</AttributeName>
<AttributeName Language="F#">[&lt;Android.Runtime.Register("android/content/ComponentCallbacks2", DoNotGenerateAcw=true)&gt;]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Obsolete("Use the 'Android.Content.IComponentCallbacks2' type. This class will be removed in a future release.")]</AttributeName>
<AttributeName Language="F#">[&lt;System.Obsolete("Use the 'Android.Content.IComponentCallbacks2' type. This class will be removed in a future release.")&gt;]</AttributeName>
</Attribute>
</Attributes>
<Docs since="14">
<summary>Extended <see cref="T:Android.Content.IComponentCallbacks" /> interface with a new callback for
finer-grained memory management.</summary>
<remarks>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/ComponentCallbacks2" title="Reference documentation">Android platform documentation</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 14" />
</Docs>
<Members>
<Member MemberName="TrimMemoryBackground">
<MemberSignature Language="C#" Value="public const Android.Content.TrimMemory TrimMemoryBackground = 40;" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype Android.Content.TrimMemory TrimMemoryBackground = (40)" />
<MemberSignature Language="DocId" Value="F:Android.Content.ComponentCallbacks2.TrimMemoryBackground" />
<MemberSignature Language="F#" Value="val mutable TrimMemoryBackground : Android.Content.TrimMemory" Usage="Android.Content.ComponentCallbacks2.TrimMemoryBackground" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Mono.Android</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("TRIM_MEMORY_BACKGROUND")]</AttributeName>
<AttributeName Language="F#">[&lt;Android.Runtime.Register("TRIM_MEMORY_BACKGROUND")&gt;]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Obsolete("This constant will be removed in the future version. Use Android.Content.TrimMemory enum directly instead of this field.", true)]</AttributeName>
<AttributeName Language="F#">[&lt;System.Obsolete("This constant will be removed in the future version. Use Android.Content.TrimMemory enum directly instead of this field.", true)&gt;]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Content.TrimMemory</ReturnType>
</ReturnValue>
<MemberValue>40</MemberValue>
<Docs>
<summary>Level for <c>#onTrimMemory(int)</c>: the process has gone on to the
LRU list.</summary>
<remarks>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/ComponentCallbacks2#TRIM_MEMORY_BACKGROUND" title="Reference documentation">Java documentation for <code>android.content.ComponentCallbacks2.TRIM_MEMORY_BACKGROUND</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 14" />
</Docs>
</Member>
<Member MemberName="TrimMemoryComplete">
<MemberSignature Language="C#" Value="public const Android.Content.TrimMemory TrimMemoryComplete = 80;" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype Android.Content.TrimMemory TrimMemoryComplete = (80)" />
<MemberSignature Language="DocId" Value="F:Android.Content.ComponentCallbacks2.TrimMemoryComplete" />
<MemberSignature Language="F#" Value="val mutable TrimMemoryComplete : Android.Content.TrimMemory" Usage="Android.Content.ComponentCallbacks2.TrimMemoryComplete" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Mono.Android</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("TRIM_MEMORY_COMPLETE")]</AttributeName>
<AttributeName Language="F#">[&lt;Android.Runtime.Register("TRIM_MEMORY_COMPLETE")&gt;]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Obsolete("This constant will be removed in the future version. Use Android.Content.TrimMemory enum directly instead of this field.", true)]</AttributeName>
<AttributeName Language="F#">[&lt;System.Obsolete("This constant will be removed in the future version. Use Android.Content.TrimMemory enum directly instead of this field.", true)&gt;]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Content.TrimMemory</ReturnType>
</ReturnValue>
<MemberValue>80</MemberValue>
<Docs>
<summary>Level for <c>#onTrimMemory(int)</c>: the process is nearing the end
of the background LRU list, and if more memory isn't found soon it will
be killed.</summary>
<remarks>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/ComponentCallbacks2#TRIM_MEMORY_COMPLETE" title="Reference documentation">Java documentation for <code>android.content.ComponentCallbacks2.TRIM_MEMORY_COMPLETE</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 14" />
</Docs>
</Member>
<Member MemberName="TrimMemoryModerate">
<MemberSignature Language="C#" Value="public const Android.Content.TrimMemory TrimMemoryModerate = 60;" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype Android.Content.TrimMemory TrimMemoryModerate = (60)" />
<MemberSignature Language="DocId" Value="F:Android.Content.ComponentCallbacks2.TrimMemoryModerate" />
<MemberSignature Language="F#" Value="val mutable TrimMemoryModerate : Android.Content.TrimMemory" Usage="Android.Content.ComponentCallbacks2.TrimMemoryModerate" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Mono.Android</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("TRIM_MEMORY_MODERATE")]</AttributeName>
<AttributeName Language="F#">[&lt;Android.Runtime.Register("TRIM_MEMORY_MODERATE")&gt;]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Obsolete("This constant will be removed in the future version. Use Android.Content.TrimMemory enum directly instead of this field.", true)]</AttributeName>
<AttributeName Language="F#">[&lt;System.Obsolete("This constant will be removed in the future version. Use Android.Content.TrimMemory enum directly instead of this field.", true)&gt;]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Content.TrimMemory</ReturnType>
</ReturnValue>
<MemberValue>60</MemberValue>
<Docs>
<summary>Level for <c>#onTrimMemory(int)</c>: the process is around the middle
of the background LRU list; freeing memory can help the system keep
other processes running later in the list for better overall performance.</summary>
<remarks>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/ComponentCallbacks2#TRIM_MEMORY_MODERATE" title="Reference documentation">Java documentation for <code>android.content.ComponentCallbacks2.TRIM_MEMORY_MODERATE</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 14" />
</Docs>
</Member>
<Member MemberName="TrimMemoryRunningCritical">
<MemberSignature Language="C#" Value="public const Android.Content.TrimMemory TrimMemoryRunningCritical = 15;" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype Android.Content.TrimMemory TrimMemoryRunningCritical = (15)" />
<MemberSignature Language="DocId" Value="F:Android.Content.ComponentCallbacks2.TrimMemoryRunningCritical" />
<MemberSignature Language="F#" Value="val mutable TrimMemoryRunningCritical : Android.Content.TrimMemory" Usage="Android.Content.ComponentCallbacks2.TrimMemoryRunningCritical" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Mono.Android</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("TRIM_MEMORY_RUNNING_CRITICAL")]</AttributeName>
<AttributeName Language="F#">[&lt;Android.Runtime.Register("TRIM_MEMORY_RUNNING_CRITICAL")&gt;]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Obsolete("This constant will be removed in the future version. Use Android.Content.TrimMemory enum directly instead of this field.", true)]</AttributeName>
<AttributeName Language="F#">[&lt;System.Obsolete("This constant will be removed in the future version. Use Android.Content.TrimMemory enum directly instead of this field.", true)&gt;]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Content.TrimMemory</ReturnType>
</ReturnValue>
<MemberValue>15</MemberValue>
<Docs>
<summary>Level for <c>#onTrimMemory(int)</c>: the process is not an expendable
background process, but the device is running extremely low on memory
and is about to not be able to keep any background processes running.</summary>
<remarks>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/ComponentCallbacks2#TRIM_MEMORY_RUNNING_CRITICAL" title="Reference documentation">Java documentation for <code>android.content.ComponentCallbacks2.TRIM_MEMORY_RUNNING_CRITICAL</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 16" />
</Docs>
</Member>
<Member MemberName="TrimMemoryRunningLow">
<MemberSignature Language="C#" Value="public const Android.Content.TrimMemory TrimMemoryRunningLow = 10;" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype Android.Content.TrimMemory TrimMemoryRunningLow = (10)" />
<MemberSignature Language="DocId" Value="F:Android.Content.ComponentCallbacks2.TrimMemoryRunningLow" />
<MemberSignature Language="F#" Value="val mutable TrimMemoryRunningLow : Android.Content.TrimMemory" Usage="Android.Content.ComponentCallbacks2.TrimMemoryRunningLow" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Mono.Android</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("TRIM_MEMORY_RUNNING_LOW")]</AttributeName>
<AttributeName Language="F#">[&lt;Android.Runtime.Register("TRIM_MEMORY_RUNNING_LOW")&gt;]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Obsolete("This constant will be removed in the future version. Use Android.Content.TrimMemory enum directly instead of this field.", true)]</AttributeName>
<AttributeName Language="F#">[&lt;System.Obsolete("This constant will be removed in the future version. Use Android.Content.TrimMemory enum directly instead of this field.", true)&gt;]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Content.TrimMemory</ReturnType>
</ReturnValue>
<MemberValue>10</MemberValue>
<Docs>
<summary>Level for <c>#onTrimMemory(int)</c>: the process is not an expendable
background process, but the device is running low on memory.</summary>
<remarks>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/ComponentCallbacks2#TRIM_MEMORY_RUNNING_LOW" title="Reference documentation">Java documentation for <code>android.content.ComponentCallbacks2.TRIM_MEMORY_RUNNING_LOW</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 16" />
</Docs>
</Member>
<Member MemberName="TrimMemoryRunningModerate">
<MemberSignature Language="C#" Value="public const Android.Content.TrimMemory TrimMemoryRunningModerate = 5;" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype Android.Content.TrimMemory TrimMemoryRunningModerate = (5)" />
<MemberSignature Language="DocId" Value="F:Android.Content.ComponentCallbacks2.TrimMemoryRunningModerate" />
<MemberSignature Language="F#" Value="val mutable TrimMemoryRunningModerate : Android.Content.TrimMemory" Usage="Android.Content.ComponentCallbacks2.TrimMemoryRunningModerate" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Mono.Android</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("TRIM_MEMORY_RUNNING_MODERATE")]</AttributeName>
<AttributeName Language="F#">[&lt;Android.Runtime.Register("TRIM_MEMORY_RUNNING_MODERATE")&gt;]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Obsolete("This constant will be removed in the future version. Use Android.Content.TrimMemory enum directly instead of this field.", true)]</AttributeName>
<AttributeName Language="F#">[&lt;System.Obsolete("This constant will be removed in the future version. Use Android.Content.TrimMemory enum directly instead of this field.", true)&gt;]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Content.TrimMemory</ReturnType>
</ReturnValue>
<MemberValue>5</MemberValue>
<Docs>
<summary>Level for <c>#onTrimMemory(int)</c>: the process is not an expendable
background process, but the device is running moderately low on memory.</summary>
<remarks>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/ComponentCallbacks2#TRIM_MEMORY_RUNNING_MODERATE" title="Reference documentation">Java documentation for <code>android.content.ComponentCallbacks2.TRIM_MEMORY_RUNNING_MODERATE</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 16" />
</Docs>
</Member>
<Member MemberName="TrimMemoryUiHidden">
<MemberSignature Language="C#" Value="public const Android.Content.TrimMemory TrimMemoryUiHidden = 20;" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype Android.Content.TrimMemory TrimMemoryUiHidden = (20)" />
<MemberSignature Language="DocId" Value="F:Android.Content.ComponentCallbacks2.TrimMemoryUiHidden" />
<MemberSignature Language="F#" Value="val mutable TrimMemoryUiHidden : Android.Content.TrimMemory" Usage="Android.Content.ComponentCallbacks2.TrimMemoryUiHidden" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Mono.Android</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("TRIM_MEMORY_UI_HIDDEN")]</AttributeName>
<AttributeName Language="F#">[&lt;Android.Runtime.Register("TRIM_MEMORY_UI_HIDDEN")&gt;]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Obsolete("This constant will be removed in the future version. Use Android.Content.TrimMemory enum directly instead of this field.", true)]</AttributeName>
<AttributeName Language="F#">[&lt;System.Obsolete("This constant will be removed in the future version. Use Android.Content.TrimMemory enum directly instead of this field.", true)&gt;]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Content.TrimMemory</ReturnType>
</ReturnValue>
<MemberValue>20</MemberValue>
<Docs>
<summary>Level for <c>#onTrimMemory(int)</c>: the process had been showing
a user interface, and is no longer doing so.</summary>
<remarks>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/ComponentCallbacks2#TRIM_MEMORY_UI_HIDDEN" title="Reference documentation">Java documentation for <code>android.content.ComponentCallbacks2.TRIM_MEMORY_UI_HIDDEN</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 14" />
</Docs>
</Member>
</Members>
</Type>