IviAndroidServiceBinderInterface

Generic Binder interface for any IVI service host.

Allows access to the IVI service interface of the service host.

Inheritors

Types

Link copied to clipboard
abstract class Stub(descriptor: String, messageDispatchFailureListener: BinderMessageDispatchFailureListener) : Binder, IviAndroidServiceBinderInterface

Functions

Link copied to clipboard

Acquires and returns a binder interface for a global IVI service interface identified by the given serviceId.

abstract fun acquireIviInstanceBoundServiceInterfaceBinder(client: IBinder, iviInstanceId: IviInstanceId, serviceId: IviServiceId, generationId: IviServiceGenerationId): IBinder

Acquires and returns a binder interface for an IVI instance bound IVI service interface identified by the given iviInstanceId and serviceId.

Link copied to clipboard
abstract fun getPid(): Int

Returns the process ID of Android service.

Link copied to clipboard
abstract fun releaseGlobalServiceInterfaceBinder(client: IBinder, serviceId: IviServiceId, generationId: IviServiceGenerationId)

Releases a previously acquired global IVI service interface identified by the given serviceId.

abstract fun releaseIviInstanceBoundServiceInterfaceBinder(client: IBinder, iviInstanceId: IviInstanceId, serviceId: IviServiceId, generationId: IviServiceGenerationId)

Releases a previously acquired IVI instance bound IVI service interface identified by the given iviInstanceId and serviceId.

Inherited functions

Link copied to clipboard
abstract fun asBinder(): IBinder