services-api / com.keecker.services.projection.interfaces / ProjectorAsyncClient

ProjectorAsyncClient

interface ProjectorAsyncClient

Projector client interface for Java.

Functions

getStateAsync abstract fun getStateAsync(): CompletableFutureCompat<ProjectorState>
setStateAsync abstract fun setStateAsync(projectorState: ProjectorState): CompletableFutureCompat<Boolean>
subscribeToStateAsync abstract fun subscribeToStateAsync(subscriber: IProjectorStateListener): CompletableFutureCompat<Unit>
unsubscribeToStateAsync abstract fun unsubscribeToStateAsync(subscriber: IProjectorStateListener): CompletableFutureCompat<Unit>

Inheritors

ProjectorClient class ProjectorClient : ProjectorCoroutineClient, ProjectorAsyncClient
Gives access to the Projector Service: