code: @TargetApi(Build.VERSION_CODES.GINGERBREAD_MR1)
      public static NfcManager getNfcManager(Context context) {
          return (NfcManager) context.getSystemService(Context.NFC_SERVICE);
      }
docs: Get the {@link android.nfc.NfcManager} service for this context.
  @param context the context.
  @return the {@link android.nfc.NfcManager}