IT. Expert System.

Android Reference

ServiceManager


android.os

Class ServiceManager



  • public final class ServiceManager
    extends Object
    • Constructor Detail

      • ServiceManager

        public ServiceManager()
    • Method Detail

      • getService

        public static IBinder getService(String name)
        Returns a reference to a service with the given name.
        Parameters:
        name - the name of the service to get
        Returns:
        a reference to the service, or null if the service doesn't exist
      • addService

        public static void addService(String name,
                      IBinder service)
        Place a new @a service called @a name into the service manager.
        Parameters:
        name - the name of the new service
        service - the service object
      • checkService

        public static IBinder checkService(String name)
        Retrieve an existing service called @a name from the service manager. Non-blocking.
      • initServiceCache

        public static void initServiceCache(Map<String,IBinder> cache)
        This is only intended to be called when the process is first being brought up and bound by the activity manager. There is only one thread in the process at that time, so no locking is done.
        Parameters:
        cache - the cache of service references


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 505 / 158779141. Delta: 0.03938 с