diff options
author | Brian Stack <bstack@google.com> | 2020-12-08 14:15:34 -0800 |
---|---|---|
committer | Brian Stack <bstack@google.com> | 2021-01-07 13:25:39 -0800 |
commit | 674c30d330104b9c48d6b7e3e52cda3ec16b528c (patch) | |
tree | f9f906165ea7d6cf66fd9b0a99fb0107dcefbf06 /rs/java/android/renderscript/ProgramRaster.java | |
parent | 659ccfc928e11f613559665b37d61c9d0f3dee64 (diff) |
Add control functions to RangingSession
Adds start, stop and reconfigure functions to UWB's RangingSession
along with associated callbacks in RangingSession.Callback.
This change also modifies the UwbManager.openRangingSession function
to only open a ranging session and not actively start ranging. In
order to start ranging, use RangingSession.start() once
RangingSession.Callback.onRangingOpened has been called.
The Ranging Session API now consists of:
UwbManager.openRangingSession
RangingSession.start
RangingSession.stop
RangingSession.reconfigure
RangingSession.close
Bug: 173799002
Bug: 170323306
Test: atest UwbManagerTests
Change-Id: I4cc7fbc1bb1cd3b0e75aa9cc57a1ad59d39d6f50
Diffstat (limited to 'rs/java/android/renderscript/ProgramRaster.java')
0 files changed, 0 insertions, 0 deletions