Language

Runtime.GetSurfacedObjects Method

Definition

Caution

Please use Java.Interop.JniEnvironment.Runtime.ValueManager.GetSurfacedPeers()

Gets legacy weak references to currently surfaced managed peers.

[System.Obsolete("Please use Java.Interop.JniEnvironment.Runtime.ValueManager.GetSurfacedPeers()")]
public static System.Collections.Generic.List<WeakReference> GetSurfacedObjects();
[<System.Obsolete("Please use Java.Interop.JniEnvironment.Runtime.ValueManager.GetSurfacedPeers()")>]
static member GetSurfacedObjects : unit -> System.Collections.Generic.List<WeakReference>

Returns

A new list of resurrection-tracking weak references for peers whose targets could be read.

Attributes

Remarks

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.

Applies to