Package org.robolectric.shadows
Class ShadowRangingSession
java.lang.Object
org.robolectric.shadows.ShadowRangingSession
@Implements(value=android.uwb.RangingSession.class,
minSdk=31,
isInAndroidSdk=false)
public class ShadowRangingSession
extends Object
Adds Robolectric support for UWB ranging.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
Adapter interface for state change events, provided by the tester to dictate ranging results. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
close()
Forwards parameters and the session's callback to the Shadow's adapter, allowing the tester to dictate the results of the call.protected void
reconfigure
(PersistableBundle params) Forwards parameters and the session's callback to the Shadow's adapter, allowing the tester to dictate the results of the call.protected void
start
(PersistableBundle params) Forwards parameters and the session's callback to the Shadow's adapter, allowing the tester to dictate the results of the call.protected void
stop()
Forwards parameters and the session's callback to the Shadow's adapter, allowing the tester to dictate the results of the call.
-
Constructor Details
-
ShadowRangingSession
public ShadowRangingSession()
-
-
Method Details
-
start
Forwards parameters and the session's callback to the Shadow's adapter, allowing the tester to dictate the results of the call. -
reconfigure
Forwards parameters and the session's callback to the Shadow's adapter, allowing the tester to dictate the results of the call. -
stop
Forwards parameters and the session's callback to the Shadow's adapter, allowing the tester to dictate the results of the call. -
close
Forwards parameters and the session's callback to the Shadow's adapter, allowing the tester to dictate the results of the call.
-