OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 // The <code>chrome.hotwordAudioVerificationPrivate</code> API allows |
| 6 // apps to access and mutate the preference for enabling always-on-hotword |
| 7 // search. |
| 8 |
| 9 [nodoc] namespace hotwordAudioVerificationPrivate { |
| 10 |
| 11 dictionary LaunchState { |
| 12 // The mode that the app was launched in. |
| 13 long launchMode; |
| 14 }; |
| 15 |
| 16 callback LaunchStateCallback = void(LaunchState result); |
| 17 |
| 18 interface Functions { |
| 19 // Retrieves the state that the app was launched in. |
| 20 // The result is put into a LaunchState object. |
| 21 static void getLaunchState(LaunchStateCallback callback); |
| 22 }; |
| 23 }; |
OLD | NEW |