public class

NdefBluetoothPushHandover

extends Object
implements ConnectionHandover
java.lang.Object
   ↳ mobisocial.ndefexchange.NdefBluetoothPushHandover

Class Overview

Implements an Ndef push handover request in which a static tag represents an Ndef reader device listening on a Bluetooth socket.

Your application must hold the android.permission.BLUETOOTH permission to support Bluetooth handovers.

Summary

Public Constructors
NdefBluetoothPushHandover(NdefExchangeContract ndefExchange)
Public Methods
void doConnectionHandover(NdefMessage handoverMessage, int handover, int record)
Issues a connection handover of the given type.
boolean supportsRequest(NdefRecord handoverRequest)
[Expand]
Inherited Methods
From class java.lang.Object
From interface mobisocial.nfc.ConnectionHandover

Public Constructors

public NdefBluetoothPushHandover (NdefExchangeContract ndefExchange)

Public Methods

public void doConnectionHandover (NdefMessage handoverMessage, int handover, int record)

Issues a connection handover of the given type.

Parameters
handoverMessage The connection handover request message.
handover The index of th first record in the connection handover.
record The index of the handover record entry being attempted.
Throws
IOException

public boolean supportsRequest (NdefRecord handoverRequest)