Class NfcManager

Definition

Namespace:
Tizen.Network.Nfc
Assembly:
Tizen.Network.Nfc.dll
API Level:
3
Privilege Level:
public
Privilege:
http://tizen.org/privilege/nfc

A class for the NFC management. It allows applications to use the NFC service.

C#
Copy
public static class NfcManager
Inheritance
System.Object
NfcManager

Properties

View Source

CachedNdefMessage

The cached NDEF message.

Declaration
C#
Copy
public static NfcNdefMessage CachedNdefMessage { get; }
Property Value
Type Description
NfcNdefMessage
API Level: 3
View Source

IsActivated

The NFC Activation state.

Declaration
C#
Copy
public static bool IsActivated { get; }
Property Value
Type Description
System.Boolean
API Level: 3
View Source

IsSupported

Checks whether the NFC is supported.

Declaration
C#
Copy
public static bool IsSupported { get; }
Property Value
Type Description
System.Boolean
API Level: 3
View Source

SecureElementType

The Secure Element type.

Declaration
C#
Copy
public static NfcSecureElementType SecureElementType { get; set; }
Property Value
Type Description
NfcSecureElementType
API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/nfc.cardemulation
View Source

SystemHandlerEnabled

Enables or disables the system handling for the tag and target discovered event.

Declaration
C#
Copy
public static bool SystemHandlerEnabled { get; set; }
Property Value
Type Description
System.Boolean
API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/nfc
View Source

TagFilterType

The Tag Filter type.

Declaration
C#
Copy
public static NfcTagFilterType TagFilterType { get; set; }
Property Value
Type Description
NfcTagFilterType
API Level: 3

Methods

View Source

GetCardEmulationAdapter()

Gets the Card Emulation adapter object.

Declaration
C#
Copy
public static NfcCardEmulationAdapter GetCardEmulationAdapter()
Returns
Type Description
NfcCardEmulationAdapter
API Level: 3
View Source

GetP2pAdapter()

Gets the P2P adapter object.

Declaration
C#
Copy
public static NfcP2pAdapter GetP2pAdapter()
Returns
Type Description
NfcP2pAdapter
API Level: 3
View Source

GetTagAdapter()

Gets the Tag adapter object.

Declaration
C#
Copy
public static NfcTagAdapter GetTagAdapter()
Returns
Type Description
NfcTagAdapter
API Level: 3
View Source

SetActivationAsync(Boolean)

Activates the NFC asynchronously.

Declaration
C#
Copy
public static Task SetActivationAsync(bool activation)
Parameters
Type Name Description
System.Boolean activation
Returns
Type Description
System.Threading.Tasks.Task

A task indicates whether the Activate method is done or not.

API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/nfc.admin

Events

View Source

ActivationChanged

The Activation changed event.

Declaration
C#
Copy
public static event EventHandler<ActivationChangedEventArgs> ActivationChanged
Event Type
Type Description
System.EventHandler<ActivationChangedEventArgs>
API Level: 3
View Source

NdefMessageDiscovered

The NDEF discovered event.

Declaration
C#
Copy
public static event EventHandler<NdefMessageDiscoveredEventArgs> NdefMessageDiscovered
Event Type
Type Description
System.EventHandler<NdefMessageDiscoveredEventArgs>
API Level: 3