Lines Matching full:assistant
1 page.title=Optimizing Content for the Assistant
4 meta.tags="assistant", "marshmallow", "now"
14 <li><a href="#assist_api">Using the Assistant</a>
21 Own Assistant</a></li>
28 through the assistant. The assistant is a top-level window that users can view to obtain
33 Users activate the assistant with a long press on the Home button or by saying a
40 Google App implements the assistant overlay window through a feature called
42 the user to select an assistant app, which obtains contextual information from your app
46 This guide explains how Android apps use Android's Assist API to improve the assistant
52 <h2 id="assist_api">Using the Assistant</h2>
55 Figure 1 illustrates a typical user interaction with the assistant. When the user long-presses
57 in the <em>source</em> app (step 1). The assistant renders the overlay window (steps 2 and 3),
58 and then the user selects the action to perform. The assistant executes the selected action,
63 <img src="{@docRoot}images/training/assistant/image01.png">
65 Figure 1. Assistant interaction example with the Now on Tap feature of
71 Users can configure the assistant by selecting <strong>Settings > Apps > Default Apps >
77 <img src="{@docRoot}images/training/assistant/image02.png">
86 To ensure that your app works with the assistant as a source of information for the user,
90 to help improve the assistant user experience as well as scenarios
94 with the assistant</h4>
98 other information with the assistant. For example, your music
99 app can choose to pass current album information so that the assistant can
104 To provide additional information to the assistant, your app provides
111 <img src="{@docRoot}images/training/assistant/image03.png">
136 When the user activates the assistant,
151 to improve the assistant user experience by providing content-related references
206 automatically collected information to the assistant unless the current
214 the assistant with the text shown to the user by calling {@link
220 assistant to obtain the information it needs.</em> To implement accessibility support,
236 <h4 id="excluding_views">Excluding views from the assistant</h4>
239 To handle sensitive information, your app can exclude the current view from the assistant
246 a surface from the assistant. There is no
247 global (app-level) mechanism to exclude all views from the assistant. Note
252 provide information to the assistant using the callbacks described earlier
258 the collection of assistant data for the work profile by using the {@link
275 The assistant uses a lightweight overlay window displayed on top of the
276 current activity. Because the user can activate the assistant at any time,
284 <img src="{@docRoot}images/training/assistant/image04.png">
300 The assistant typically takes advantage of deep linking to find destination apps. To make your
304 overlay window (shown in step 3 in Figure 1) is specific to the assistant?s implementation.
311 <h2 id="implementing_your_own_assistant">Implementing Your Own Assistant </h2>
314 You may wish to implement your own assistant. As shown in <a href="#assist-input-settings">Figure
315 2</a>, the user can select the active assistant app. The
316 assistant app must provide an implementation of {@link
321 android.Manifest.permission#BIND_VOICE_INTERACTION} permission. The assistant can then