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.- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintReturns the number of timesnotifyDirectActionsChangedwas called on theVoiceInteractorinstance associated with this shadowprotected StringReturns the voice interactions called onVoiceInteractorinstance associated with this shadow.protected voidvoidsetPackageName(String packageName) protected booleansubmitRequest(VoiceInteractor.Request request) protected booleansubmitRequest(VoiceInteractor.Request request, String name) 
- 
Field Details- 
assistantPackageName
 
- 
- 
Constructor Details- 
ShadowVoiceInteractorpublic ShadowVoiceInteractor()
 
- 
- 
Method Details- 
getPackageName
- 
setPackageName
- 
notifyDirectActionsChanged
- 
submitRequest@Implementation(minSdk=29) protected boolean submitRequest(VoiceInteractor.Request request, String name) 
- 
submitRequest
- 
getDirectActionsInvalidationCountpublic int getDirectActionsInvalidationCount()Returns the number of timesnotifyDirectActionsChangedwas called on theVoiceInteractorinstance associated with this shadow
- 
getVoiceInteractionsReturns the voice interactions called onVoiceInteractorinstance associated with this shadow.
 
-