Example usage for android.nfc NfcAdapter disableForegroundNdefPush

List of usage examples for android.nfc NfcAdapter disableForegroundNdefPush

Introduction

In this page you can find the example usage for android.nfc NfcAdapter disableForegroundNdefPush.

Prototype

@Deprecated
public void disableForegroundNdefPush(Activity activity) 

Source Link

Document

Disable NDEF message push over P2P.

Usage

From source file:Main.java

public static void disableNFCAdapter(Activity activity, NfcAdapter nfcAdapter) {
    nfcAdapter.disableForegroundNdefPush(activity);
}