Loading nfc/java/android/nfc/NfcAdapter.java +5 −5 Original line number Diff line number Diff line Loading @@ -1150,8 +1150,9 @@ public final class NfcAdapter { } /** * Pauses polling for a {@code timeoutInMs} millis. If polling must be resumed before timeout, * use {@link #resumePolling()}. * Pauses NFC tag reader mode polling for a {@code timeoutInMs} millisecond. * In case of {@code timeoutInMs} is zero or invalid polling will be stopped indefinitely * use {@link #resumePolling() to resume the polling. * @hide */ public void pausePolling(int timeoutInMs) { Loading Loading @@ -1210,9 +1211,8 @@ public final class NfcAdapter { } /** * Resumes default polling for the current device state if polling is paused. Calling * this while polling is not paused is a no-op. * * Resumes default NFC tag reader mode polling for the current device state if polling is * paused. Calling this while already in polling is a no-op. * @hide */ public void resumePolling() { Loading nfc/java/android/nfc/NfcOemExtension.java +4 −3 Original line number Diff line number Diff line Loading @@ -569,8 +569,9 @@ public final class NfcOemExtension { } /** * Pauses NFC tag reader mode polling for a {@code timeoutInMs} millisecond. If polling must be * resumed before timeout, use {@link #resumePolling()}. * Pauses NFC tag reader mode polling for a {@code timeoutInMs} millisecond. * In case of {@code timeoutInMs} is zero or invalid polling will be stopped indefinitely * use {@link #resumePolling() to resume the polling. * @param timeoutInMs the pause polling duration in millisecond */ @FlaggedApi(Flags.FLAG_NFC_OEM_EXTENSION) Loading @@ -581,7 +582,7 @@ public final class NfcOemExtension { /** * Resumes default NFC tag reader mode polling for the current device state if polling is * paused. Calling this while polling is not paused is a no-op. * paused. Calling this while already in polling is a no-op. */ @FlaggedApi(Flags.FLAG_NFC_OEM_EXTENSION) @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) Loading Loading
nfc/java/android/nfc/NfcAdapter.java +5 −5 Original line number Diff line number Diff line Loading @@ -1150,8 +1150,9 @@ public final class NfcAdapter { } /** * Pauses polling for a {@code timeoutInMs} millis. If polling must be resumed before timeout, * use {@link #resumePolling()}. * Pauses NFC tag reader mode polling for a {@code timeoutInMs} millisecond. * In case of {@code timeoutInMs} is zero or invalid polling will be stopped indefinitely * use {@link #resumePolling() to resume the polling. * @hide */ public void pausePolling(int timeoutInMs) { Loading Loading @@ -1210,9 +1211,8 @@ public final class NfcAdapter { } /** * Resumes default polling for the current device state if polling is paused. Calling * this while polling is not paused is a no-op. * * Resumes default NFC tag reader mode polling for the current device state if polling is * paused. Calling this while already in polling is a no-op. * @hide */ public void resumePolling() { Loading
nfc/java/android/nfc/NfcOemExtension.java +4 −3 Original line number Diff line number Diff line Loading @@ -569,8 +569,9 @@ public final class NfcOemExtension { } /** * Pauses NFC tag reader mode polling for a {@code timeoutInMs} millisecond. If polling must be * resumed before timeout, use {@link #resumePolling()}. * Pauses NFC tag reader mode polling for a {@code timeoutInMs} millisecond. * In case of {@code timeoutInMs} is zero or invalid polling will be stopped indefinitely * use {@link #resumePolling() to resume the polling. * @param timeoutInMs the pause polling duration in millisecond */ @FlaggedApi(Flags.FLAG_NFC_OEM_EXTENSION) Loading @@ -581,7 +582,7 @@ public final class NfcOemExtension { /** * Resumes default NFC tag reader mode polling for the current device state if polling is * paused. Calling this while polling is not paused is a no-op. * paused. Calling this while already in polling is a no-op. */ @FlaggedApi(Flags.FLAG_NFC_OEM_EXTENSION) @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) Loading