|
2 | 2 | <root xmlns:android="http://schemas.android.com/apk/res/android">
|
3 | 3 | <trace enable="true"/>
|
4 | 4 | <init>
|
5 |
| - <log text="==VoiceService PlatformIntegration init=="/> |
| 5 | + <log text="==VoiceService PlatformIntegration init=="/> |
6 | 6 | </init>
|
7 | 7 |
|
8 | 8 | <androidManifestUpdates>
|
|
56 | 56 |
|
57 | 57 | <AARImports>
|
58 | 58 | </AARImports>
|
59 |
| - |
| 59 | + |
60 | 60 | <!-- optional additions to the GameActivity imports in GameActivity.java -->
|
61 | 61 | <gameActivityImportAdditions>
|
62 | 62 | <insert>
|
63 | 63 | import java.util.HashSet;
|
64 | 64 | import java.util.Arrays;
|
65 | 65 | import android.text.TextUtils;
|
66 |
| - import android.graphics.BitmapFactory; |
67 |
| - import android.os.Handler; |
| 66 | + import android.graphics.BitmapFactory; |
| 67 | + import android.os.Handler; |
68 | 68 | import com.oculus.assistant.api.voicesdk.immersivevoicecommands.ue.UEIVCHelper;
|
69 |
| - |
| 69 | + |
70 | 70 | </insert>
|
71 | 71 | </gameActivityImportAdditions>
|
72 |
| - |
| 72 | + |
73 | 73 |
|
74 | 74 | <!-- optional additions to the GameActivity class in GameActivity.java -->
|
75 | 75 | <gameActivityClassAdditions>
|
76 | 76 | <insert>
|
77 | 77 | <![CDATA[
|
78 |
| - |
| 78 | +
|
79 | 79 | public void AndroidThunkJava_Oculus_Assistant_VoiceSDK_ActivateVoiceInput(String tag, String token, String clientSDKVersion) {
|
80 | 80 | UEIVCHelper.activateVoiceInput(_activity, tag, token, clientSDKVersion);
|
81 | 81 | }
|
82 |
| - |
| 82 | +
|
83 | 83 | public void AndroidThunkJava_Oculus_Assistant_VoiceSDK_ActivateVoiceInputWithRequestOptions(String requestOptions, String tag, String token, String clientSDKVersion) {
|
84 | 84 | UEIVCHelper.activateVoiceInput(_activity, requestOptions, tag, token, clientSDKVersion);
|
85 | 85 | }
|
86 |
| - |
| 86 | +
|
87 | 87 | public void AndroidThunkJava_Oculus_Assistant_VoiceSDK_ActivateVoiceInputImmediately(String tag, String token, String clientSDKVersion) {
|
88 | 88 | UEIVCHelper.activateVoiceInputImmediately(_activity, tag, token, clientSDKVersion);
|
89 | 89 | }
|
90 |
| - |
| 90 | +
|
91 | 91 | public void AndroidThunkJava_Oculus_Assistant_VoiceSDK_ActivateVoiceInputImmediatelyWithRequestOptions(String requestOptions, String tag, String token, String clientSDKVersion) {
|
92 | 92 | UEIVCHelper.activateVoiceInputImmediately(_activity, requestOptions, tag, token, clientSDKVersion);
|
93 | 93 | }
|
94 |
| - |
| 94 | +
|
95 | 95 | public void AndroidThunkJava_Oculus_Assistant_VoiceSDK_DeactivateVoiceInput(String tag) {
|
96 | 96 | UEIVCHelper.deactivateVoiceInput(_activity, tag);
|
97 | 97 | }
|
98 |
| - |
| 98 | +
|
99 | 99 | public void AndroidThunkJava_Oculus_Assistant_VoiceSDK_DeactivateAndAbortRequest(String tag) {
|
100 | 100 | UEIVCHelper.deactivateAndAbortRequest(_activity, tag);
|
101 | 101 | }
|
102 |
| - |
| 102 | +
|
103 | 103 | public void AndroidThunkJava_Oculus_Assistant_VoiceSDK_SendTranscription(String text, String tag, String token, String clientSDKVersion) {
|
104 | 104 | UEIVCHelper.sendTranscription(_activity, text, tag, token, clientSDKVersion);
|
105 | 105 | }
|
106 |
| - |
| 106 | +
|
107 | 107 | public void AndroidThunkJava_Oculus_Assistant_VoiceSDK_SendTranscriptionWithRequestOptions(String text, String requestOptions, String tag, String token, String clientSDKVersion) {
|
108 | 108 | UEIVCHelper.sendTranscription(_activity, text, requestOptions, tag, token, clientSDKVersion);
|
109 | 109 | }
|
110 |
| - |
| 110 | +
|
111 | 111 | public boolean AndroidThunkJava_Oculus_Assistant_VoiceSDK_IsSupported(String tag) {
|
112 | 112 | return UEIVCHelper.IsSupported(_activity, tag);
|
113 | 113 | }
|
114 |
| - |
| 114 | +
|
115 | 115 | public boolean AndroidThunkJava_Oculus_Assistant_VoiceSDK_IsVoiceInputActive(String tag) {
|
116 | 116 | return UEIVCHelper.IsVoiceInputActive(_activity, tag);
|
117 | 117 | }
|
118 |
| - |
| 118 | +
|
119 | 119 | public boolean AndroidThunkJava_Oculus_Assistant_VoiceSDK_IsVoiceStreamingActive(String tag) {
|
120 | 120 | return UEIVCHelper.IsVoiceStreamingActive(_activity, tag);
|
121 | 121 | }
|
122 |
| - |
| 122 | +
|
123 | 123 | public boolean AndroidThunkJava_Oculus_Assistant_VoiceSDK_IsRequestInProgress(String tag) {
|
124 | 124 | return UEIVCHelper.IsRequestInProgress(_activity, tag);
|
125 | 125 | }
|
126 |
| - |
| 126 | +
|
127 | 127 | ]]>
|
128 | 128 | </insert>
|
129 | 129 | </gameActivityClassAdditions>
|
130 |
| - |
| 130 | + |
131 | 131 | <!-- optional additions to GameActivity onCreate metadata reading in GameActivity.java -->
|
132 | 132 | <gameActivityReadMetadataAdditions>
|
133 | 133 | <insert>
|
134 | 134 |
|
135 | 135 | </insert>
|
136 | 136 | </gameActivityReadMetadataAdditions>
|
137 |
| - |
| 137 | + |
138 | 138 | <!-- optional additions to GameActivity onCreate in GameActivity.java -->
|
139 | 139 | <gameActivityOnCreateAdditions>
|
140 | 140 | <insert>
|
|
146 | 146 | <!-- optional additions to GameActivity onDestroy in GameActivity.java -->
|
147 | 147 | <gameActivityOnDestroyAdditions>
|
148 | 148 | <insert>
|
149 |
| - |
| 149 | + |
150 | 150 | </insert>
|
151 | 151 | </gameActivityOnDestroyAdditions>
|
152 |
| - |
153 |
| - |
| 152 | + |
| 153 | + |
154 | 154 | <!-- optional additions to GameActivity onStart in GameActivity.java -->
|
155 | 155 | <gameActivityOnStartAdditions>
|
156 | 156 | <insert>
|
157 |
| - |
| 157 | + |
158 | 158 | </insert>
|
159 | 159 | </gameActivityOnStartAdditions>
|
160 | 160 |
|
161 | 161 | <!-- optional additions to GameActivity onStop in GameActivity.java -->
|
162 | 162 | <gameActivityOnStopAdditions>
|
163 | 163 | <insert>
|
164 |
| - |
| 164 | + |
165 | 165 | </insert>
|
166 | 166 | </gameActivityOnStopAdditions>
|
167 |
| - |
| 167 | + |
168 | 168 |
|
169 | 169 | <!-- optional additions to GameActivity onPause in GameActivity.java -->
|
170 | 170 | <gameActivityOnPauseAdditions>
|
|
187 | 187 | <insert>
|
188 | 188 | </insert>
|
189 | 189 | </gameActivityOnActivityResultAdditions>
|
190 |
| - |
| 190 | + |
191 | 191 |
|
192 | 192 | <!-- optional libraries to load in GameActivity.java before libUE4.so -->
|
193 | 193 | <soLoadLibrary>
|
194 |
| - <!-- need this if plugin enabled and supported architecture, even if not packaged for GearVR --> |
| 194 | + <!-- need this if plugin enabled and supported architecture --> |
195 | 195 | </soLoadLibrary>
|
196 | 196 | </root>
|
0 commit comments