JniObjectReferenceOptions Enum
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.
Controls reference copying, source disposal, and managed peer registration.
This enumeration supports a bitwise combination of its member values.
[System.Flags]
public enum JniObjectReferenceOptions
[<System.Flags>]
type JniObjectReferenceOptions =
- Inheritance
-
JniObjectReferenceOptions
- Attributes
Fields
| Name | Value | Description |
|---|---|---|
| None | 0 | Leaves the source reference undisposed and permits deferred initialization of a peer that has no reference. |
| Copy | 1 | Copies the reference for the managed peer without disposing the source reference. |
| CopyAndDispose | 3 | Copies the reference for the managed peer, then disposes the source reference. |
| CopyAndDoNotRegister | 5 | Copies the reference without disposing the source or adding the new peer to the runtime's peer mapping. |
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.