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
Nested ClassesModifier and TypeClassDescriptionstatic interfaceAdapter interface for state change events, provided by the tester to dictate ranging results. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidclose()Forwards parameters and the session's callback to the Shadow's adapter, allowing the tester to dictate the results of the call.protected voidreconfigure(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 voidstart(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 voidstop()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.
-