org.scaloid.common

LocalServiceConnection

class LocalServiceConnection[S <: LocalService] extends ServiceConnection

An in-process service connector that can bound LocalService. This yields far more concise code than that uses plain-old Android API.

Please refer to the URL below for more details.

http://blog.scaloid.org/2013/03/introducing-localservice.html

Linear Supertypes
ServiceConnection, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. LocalServiceConnection
  2. ServiceConnection
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LocalServiceConnection(bindFlag: Int = ...)(implicit ctx: Context, reg: Registerable, ev: <:<[Null, S], mf: ClassTag[S])

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. var binder: IBinder

  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. var componentName: ComponentName

  10. def connected: Boolean

    Returns true if the service is currently connected.

  11. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  20. var onConnected: EventSource0[Unit]

  21. var onDisconnected: EventSource0[Unit]

  22. def onServiceConnected(p1: ComponentName, b: IBinder): Unit

    Internal implementation for handling the service connection.

    Internal implementation for handling the service connection. You do not need to call this method.

    Definition Classes
    LocalServiceConnection → ServiceConnection
  23. def onServiceDisconnected(p1: ComponentName): Unit

    Internal implementation for handling the service connection.

    Internal implementation for handling the service connection. You do not need to call this method.

    Definition Classes
    LocalServiceConnection → ServiceConnection
  24. var service: S

  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  26. def toString(): String

    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ServiceConnection

Inherited from AnyRef

Inherited from Any

Ungrouped