IComponentCallbacks Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The set of callback APIs that are common to all application components
(android.app.Activity, android.app.Service,
ContentProvider, and android.app.Application).
[Android.Runtime.Register("android/content/ComponentCallbacks", "", "Android.Content.IComponentCallbacksInvoker")]
public interface IComponentCallbacks : Android.Runtime.IJavaObject, IDisposable, Java.Interop.IJavaPeerable
[<Android.Runtime.Register("android/content/ComponentCallbacks", "", "Android.Content.IComponentCallbacksInvoker")>]
type IComponentCallbacks = interface
interface IJavaObject
interface IDisposable
interface IJavaPeerable
- Derived
- Attributes
- Implements
Remarks
Java documentation for android.content.ComponentCallbacks.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Properties
| Handle |
Gets the JNI value of the underlying Android object. (Inherited from IJavaObject) |
| JniIdentityHashCode | (Inherited from IJavaPeerable) |
| JniManagedPeerState | (Inherited from IJavaPeerable) |
| JniPeerMembers | (Inherited from IJavaPeerable) |
| PeerReference | (Inherited from IJavaPeerable) |
Methods
| Disposed() | (Inherited from IJavaPeerable) |
| DisposeUnlessReferenced() | (Inherited from IJavaPeerable) |
| Finalized() | (Inherited from IJavaPeerable) |
| OnConfigurationChanged(Configuration) |
Called by the system when the device configuration changes while your component is running. |
| OnLowMemory() |
This is called when the overall system is running low on memory, and actively running processes should trim their memory usage. |
| SetJniIdentityHashCode(Int32) | (Inherited from IJavaPeerable) |
| SetJniManagedPeerState(JniManagedPeerStates) | (Inherited from IJavaPeerable) |
| SetPeerReference(JniObjectReference) | (Inherited from IJavaPeerable) |
| UnregisterFromRuntime() | (Inherited from IJavaPeerable) |
Extension Methods
| JavaCast<TResult>(IJavaObject) |
Performs an Android runtime-checked type conversion. |
| JavaCast<TResult>(IJavaObject) | |
| GetJniTypeName(IJavaPeerable) | |