This repository has been archived by the owner on Jun 30, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 528
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Virtual Assistant Client for Android - initial public commit * updated .gitignore to ensure the /src/debug folder is not ignored * implemented feedback from PR 1493 * code cleanup after merge * fixes possible exception due to race condition * fix: release created and stopped audio records * added timeout event so that client app can notify user * WIP adaptive card click events * WIP adaptive card clicking * finished implementation of adaptive card clicking * Updated Location event so that the data is consumed properly * additional IPA -> VA changes * logcat logging of complete JSON data * using suggested actions for adaptive card click * undo incorrect commit * added suggested actions feature * updates to allow the service to receive connections from other apps * small code updates + locationProvider threading fix * finished feature to broadcast data to other apps
- Loading branch information
Showing
9 changed files
with
324 additions
and
129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
...pp/src/main/aidl/com/microsoft/bot/builder/solutions/virtualassistant/ISpeechService.aidl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package com.microsoft.bot.builder.solutions.virtualassistant; | ||
|
||
interface ISpeechService { | ||
|
||
boolean isSpeechSdkRunning(); | ||
void sendTextMessage(String msg); | ||
void initializeSpeechSdk(boolean haveRecordAudioPermission); | ||
void connectAsync(); | ||
void startLocationUpdates(); | ||
void resetBot(); | ||
String getConfiguration();// the String is "Configuration" as JSON | ||
void setConfiguration(String json);// the String is "Configuration" as JSON | ||
void sendLocationEvent(String lat, String lon); | ||
void requestWelcomeCard(); | ||
void injectReceivedActivity(String json); | ||
void listenOnceAsync(); | ||
void sendActivityMessageAsync(String msg); | ||
String getSuggestedActions();//the String is "List<CardAction>" as JSON | ||
void clearSuggestedActions(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.