Package 

Class Assist

    • Method Summary

      Modifier and Type Method Description
      static Assist serviceProvider(Context appContext) Static factory method to provide Assist object.Mainly used by library "sub-service" manager classes.
      void connect(Assist.AssistConnectionListener listener) Connect to AssistServices.Mainly used by library "sub-service" manager classes.
      void release(Assist.AssistConnectionListener listener) Release this client connection towards the AssistServices.
      boolean isConnected() Check if connection towards underlying service is established.
      IBinder getService(int id)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • serviceProvider

         static Assist serviceProvider(Context appContext)

        Static factory method to provide Assist object.Mainly used by library "sub-service" manager classes.Use case for other clients: Use together with connect toknow when asynchronous connection towards service is established.

      • connect

         void connect(Assist.AssistConnectionListener listener)

        Connect to AssistServices.Mainly used by library "sub-service" manager classes.Use case for other clients: Use AssistConnectionListener to know when asynchronousconnection towards service is established.If used remember to call release when no longer needed.

        Parameters:
        listener - Connection listener.
      • isConnected

         boolean isConnected()

        Check if connection towards underlying service is established.