Package org.robolectric.shadows
Class ShadowVoiceInteractor
java.lang.Object
org.robolectric.shadows.ShadowVoiceInteractor
@Implements(value=android.app.VoiceInteractor.class, minSdk=23) public class ShadowVoiceInteractor extends Object
Shadow implementation of
VoiceInteractor
.-
Constructor Summary
Constructors Constructor Description ShadowVoiceInteractor()
-
Method Summary
Modifier and Type Method Description int
getDirectActionsInvalidationCount()
Returns the number of timesnotifyDirectActionsChanged
was called on theVoiceInteractor
instance associated with this shadowList<String>
getVoiceInteractions()
Returns the voice interactions called onVoiceInteractor
instance associated with this shadow.protected void
notifyDirectActionsChanged()
protected boolean
submitRequest(VoiceInteractor.Request request)
protected boolean
submitRequest(VoiceInteractor.Request request, String name)
-
Constructor Details
-
ShadowVoiceInteractor
public ShadowVoiceInteractor()
-
-
Method Details
-
notifyDirectActionsChanged
-
submitRequest
@Implementation(minSdk=29) protected boolean submitRequest(VoiceInteractor.Request request, String name) -
submitRequest
-
getDirectActionsInvalidationCount
public int getDirectActionsInvalidationCount()Returns the number of timesnotifyDirectActionsChanged
was called on theVoiceInteractor
instance associated with this shadow -
getVoiceInteractions
Returns the voice interactions called onVoiceInteractor
instance associated with this shadow.
-