Package org.robolectric.shadows
Class ShadowWearableSensingManager
java.lang.Object
org.robolectric.shadows.ShadowWearableSensingManager
@Implements(value=android.app.wearable.WearableSensingManager.class,
minSdk=34,
isInAndroidSdk=false)
public class ShadowWearableSensingManager
extends Object
Shadow for VirtualDeviceManager.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
provideData
(PersistableBundle data, SharedMemory sharedMemory, Executor executor, Consumer<Integer> statusConsumer) protected void
provideDataStream
(ParcelFileDescriptor parcelFileDescriptor, Executor executor, Consumer<Integer> statusConsumer) static void
reset()
void
setProvideDataResult
(Integer provideDataResult) void
setProvideDataStreamResult
(Integer provideDataStreamResult)
-
Constructor Details
-
ShadowWearableSensingManager
public ShadowWearableSensingManager()
-
-
Method Details
-
provideDataStream
@Implementation protected void provideDataStream(ParcelFileDescriptor parcelFileDescriptor, Executor executor, Consumer<Integer> statusConsumer) -
setProvideDataStreamResult
-
setProvideDataResult
-
getLastParcelFileDescriptor
-
getLastDataBundle
-
getAllDataBundles
-
reset
-