Table of Contents

Class Ndef

Namespace
Android.Nfc.Tech
Assembly
MASES.Netdroid.dll
public class Ndef : TagTechnology, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, ITagTechnology, ICloseable, IAutoCloseable
Inheritance
Ndef
Implements
Extension Methods

Constructors

Ndef(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 Ndef(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements java.lang.AutoCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

MIFARE_CLASSIC

public static String MIFARE_CLASSIC { get; set; }

Property Value

String

NFC_FORUM_TYPE_1

public static String NFC_FORUM_TYPE_1 { get; set; }

Property Value

String

NFC_FORUM_TYPE_2

public static String NFC_FORUM_TYPE_2 { get; set; }

Property Value

String

NFC_FORUM_TYPE_3

public static String NFC_FORUM_TYPE_3 { get; set; }

Property Value

String

NFC_FORUM_TYPE_4

public static String NFC_FORUM_TYPE_4 { get; set; }

Property Value

String

Methods

CanMakeReadOnly()

public bool CanMakeReadOnly()

Returns

bool

bool

Close()

public void Close()

Exceptions

IOException

Connect()

public void Connect()

Exceptions

IOException

Get(Tag)

public static Ndef Get(Tag arg0)

Parameters

arg0 Tag

Tag

Returns

Ndef

Ndef

GetCachedNdefMessage()

public NdefMessage GetCachedNdefMessage()

Returns

NdefMessage

NdefMessage

GetMaxSize()

public int GetMaxSize()

Returns

int

int

GetNdefMessage()

public NdefMessage GetNdefMessage()

Returns

NdefMessage

NdefMessage

Exceptions

FormatException
IOException

GetTag()

public Tag GetTag()

Returns

Tag

Tag

GetType()

public String GetType()

Returns

String

String

IsConnected()

public bool IsConnected()

Returns

bool

bool

IsWritable()

public bool IsWritable()

Returns

bool

bool

MakeReadOnly()

public bool MakeReadOnly()

Returns

bool

bool

Exceptions

IOException

WriteNdefMessage(NdefMessage)

public void WriteNdefMessage(NdefMessage arg0)

Parameters

arg0 NdefMessage

NdefMessage

Exceptions

FormatException
IOException