org.chromium.content.browser.SpeechRecognition Java Examples

The following examples show how to use org.chromium.content.browser.SpeechRecognition. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ChromeBrowserInitializer.java    From AndroidChromium with Apache License 2.0 5 votes vote down vote up
private void onStartNativeInitialization() {
    ThreadUtils.assertOnUiThread();
    if (mNativeInitializationComplete) return;
    // The policies are used by browser startup, so we need to register the policy providers
    // before starting the browser process.
    mApplication.registerPolicyProviders(CombinedPolicyProvider.get());

    SpeechRecognition.initialize(mApplication);
}
 
Example #2
Source File: ChromeBrowserInitializer.java    From 365browser with Apache License 2.0 5 votes vote down vote up
private void onStartNativeInitialization() {
    ThreadUtils.assertOnUiThread();
    if (mNativeInitializationComplete) return;
    // The policies are used by browser startup, so we need to register the policy providers
    // before starting the browser process.
    AppHooks.get().registerPolicyProviders(CombinedPolicyProvider.get());

    SpeechRecognition.initialize(mApplication);
}
 
Example #3
Source File: ChromeBrowserInitializer.java    From delion with Apache License 2.0 4 votes vote down vote up
private void onStartNativeInitialization() {
    ThreadUtils.assertOnUiThread();
    if (mNativeInitializationComplete) return;
    SpeechRecognition.initialize(mApplication);
}