Lines Matching defs:getDefaultAdapter
44 * Use the helper {@link #getDefaultAdapter(Context)} to get the default NFC
388 * NfcAdapter adapter = manager.getDefaultAdapter();</pre>
393 public static NfcAdapter getDefaultAdapter(Context context) {
408 return manager.getDefaultAdapter();
412 * Legacy NfcAdapter getter, always use {@link #getDefaultAdapter(Context)} instead.<p>
416 * @deprecated use {@link #getDefaultAdapter(Context)}
420 public static NfcAdapter getDefaultAdapter() {
425 Log.w(TAG, "WARNING: NfcAdapter.getDefaultAdapter() is deprecated, use " +
426 "NfcAdapter.getDefaultAdapter(Context) instead", new Exception());
620 * NfcAdapter nfcAdapter = NfcAdapter.getDefaultAdapter(this);
700 * NfcAdapter nfcAdapter = NfcAdapter.getDefaultAdapter(this);
770 * NfcAdapter nfcAdapter = NfcAdapter.getDefaultAdapter(this);
867 * NfcAdapter nfcAdapter = NfcAdapter.getDefaultAdapter(this);
932 * NfcAdapter nfcAdapter = NfcAdapter.getDefaultAdapter(this);