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
Loading
Please register or sign in to comment