SupportAccessPointController

interface SupportAccessPointController

Support interface for clients that are not using Kotlin Coroutines.

You can call the functions in this interface from any JVM language.

Attention: This is an experimental API and might change in future!

Functions

getAccessPoint
Link copied to clipboard
abstract fun getAccessPoint(id: String, callback: (Result<AccessPoint>) -> Unit): Cancelable
abstract fun getAccessPoint(id: String, lifecycleOwner: LifecycleOwner, callback: (Result<AccessPoint>) -> Unit): Cancelable

Get the AccessPoint with the given id the user has access to.

getAccessPoints
Link copied to clipboard
abstract fun getAccessPoints(callback: (List<AccessPoint>) -> Unit): Cancelable
abstract fun getAccessPoints(lifecycleOwner: LifecycleOwner, callback: (List<AccessPoint>) -> Unit): Cancelable

Get AccessPoint's the user has access to.

open
Link copied to clipboard
abstract fun open(accessPoint: AccessPoint, callback: (Result<Unit>) -> Unit): Cancelable
abstract fun open(accessPoint: AccessPoint, lifecycleOwner: LifecycleOwner, callback: (Result<Unit>) -> Unit): Cancelable

Opens an AccessPoint.

Inheritors

AccessPointController
Link copied to clipboard