Access Point Controller
Controller for getting AccessPoint's and open them.
For Java Developers: You can convert a kotlinx.coroutines.flow.Flow to androidx.lifecycle.LiveData using FlowLiveDataConversions.asLiveData(flow);
Attention: This is an experimental API and might change in future!
Functions
get Access Point
Link copied to clipboard
abstract fun getAccessPoint(id: String, callback: (Result<AccessPoint>) -> Unit): Cancelable
Content copied to clipboard
abstract fun getAccessPoint(id: String, lifecycleOwner: LifecycleOwner, callback: (Result<AccessPoint>) -> Unit): Cancelable
Content copied to clipboard
Get the AccessPoint with the given id the user has access to.
get Access Points
Link copied to clipboard
abstract fun getAccessPoints(callback: (List<AccessPoint>) -> Unit): Cancelable
Content copied to clipboard
abstract fun getAccessPoints(lifecycleOwner: LifecycleOwner, callback: (List<AccessPoint>) -> Unit): Cancelable
Content copied to clipboard
Get AccessPoint's the user has access to.
open
Link copied to clipboard
abstract fun open(accessPoint: AccessPoint, callback: (Result<Unit>) -> Unit): Cancelable
Content copied to clipboard
abstract fun open(accessPoint: AccessPoint, lifecycleOwner: LifecycleOwner, callback: (Result<Unit>) -> Unit): Cancelable
Content copied to clipboard
Opens an AccessPoint.