• Home
  • Raw
  • Download

Lines Matching refs:clients

66 clients can use to interact with the service.</p>
78 started, the system does <em>not</em> destroy the service when all clients unbind. Instead, you must
105 <p>Multiple clients can connect to the service at once. However, the system calls your service's
108 additional clients that bind, without calling {@link android.app.Service#onBind onBind()} again.</p>
123 that provides the programming interface that clients can use to interact with the service. There
210 <p>For example, here's a service that provides clients access to methods in the service through
215 // Binder given to clients
222 * runs in the same process as its clients, we don't need to deal with IPC.
226 // Return this instance of LocalService so clients can call public methods
236 /** method for clients */
243 <p>The {@code LocalBinder} provides the {@code getService()} method for clients to retrieve the
244 current instance of {@code LocalService}. This allows clients to call public methods in the
245 service. For example, clients can call {@code getRandomNumber()} from the service.</p>
361 returns to clients from {@link android.app.Service#onBind onBind()}.</li>
383 * Handler of incoming messages from clients.
399 * Target we publish for clients to send messages to IncomingHandler.
510 <p>Application components (clients) can bind to a service by calling
645 <p>When a service is unbound from all clients, the Android system destroys it (unless it was also
648 service&mdash;the Android system manages it for you based on whether it is bound to any clients.</p>
655 clients.</p>