Class SharedMemory
public class SharedMemory : JVMBridgeBase<SharedMemory>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, ICloseable, IAutoCloseable, IParcelable
- Inheritance
-
SharedMemory
- Implements
- Extension Methods
Constructors
SharedMemory(IJVMBridgeBaseInitializer)
Initializer used internally by JCOBridge. Do not use directly.
[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public SharedMemory(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
CREATOR
public static Parcelable.Creator CREATOR { get; set; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements java.lang.AutoCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
Methods
Close()
public void Close()
Create(String, int)
public static SharedMemory Create(String arg0, int arg1)
Parameters
Returns
Exceptions
DescribeContents()
public int DescribeContents()
Returns
FromFileDescriptor(ParcelFileDescriptor)
public static SharedMemory FromFileDescriptor(ParcelFileDescriptor arg0)
Parameters
Returns
GetSize()
public int GetSize()
Returns
Map(int, int, int)
public ByteBuffer Map(int arg0, int arg1, int arg2)
Parameters
Returns
Exceptions
MapReadOnly()
public ByteBuffer MapReadOnly()
Returns
Exceptions
MapReadWrite()
public ByteBuffer MapReadWrite()
Returns
Exceptions
SetProtect(int)
public bool SetProtect(int arg0)
Parameters
Returns
Unmap(ByteBuffer)
public static void Unmap(ByteBuffer arg0)
Parameters
arg0ByteBuffer
WriteToParcel(Parcel, int)
public void WriteToParcel(Parcel arg0, int arg1)
Parameters
Operators
implicit operator Parcelable(SharedMemory)
Converter from SharedMemory to Parcelable
public static implicit operator Parcelable(SharedMemory t)
Parameters
Returns
implicit operator Closeable(SharedMemory)
Converter from SharedMemory to Closeable
public static implicit operator Closeable(SharedMemory t)