Skip to content

Commit fefd489

Browse files
Martijn CoenenAndroid (Google) Code Review
authored andcommitted
Merge "Small NFC API docs addition." into jb-dev
2 parents 059537e + 3b6ecf0 commit fefd489

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

core/java/android/nfc/NfcAdapter.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -637,6 +637,9 @@ public boolean disable() {
637637
* {@link Activity#onDestroy}. This is guaranteed if you call this API
638638
* during {@link Activity#onCreate}.
639639
*
640+
* <p class="note">If this device does not support alternate transports
641+
* such as Bluetooth or WiFI, calling this method does nothing.
642+
*
640643
* <p class="note">Requires the {@link android.Manifest.permission#NFC} permission.
641644
*
642645
* @param uris an array of Uri(s) to push over Android Beam
@@ -711,6 +714,9 @@ public void setBeamPushUris(Uri[] uris, Activity activity) {
711714
* {@link Activity#onDestroy}. This is guaranteed if you call this API
712715
* during {@link Activity#onCreate}.
713716
*
717+
* <p class="note">If this device does not support alternate transports
718+
* such as Bluetooth or WiFI, calling this method does nothing.
719+
*
714720
* <p class="note">Requires the {@link android.Manifest.permission#NFC} permission.
715721
*
716722
* @param callback callback, or null to disable

0 commit comments

Comments
 (0)