Noop

object Noop : LensesComponent.RemoteApiService.Factory

Convenience implementation of RemoteApiService.Factory which does not support any API spec IDs and always returns RemoteApiService.Noop.

Functions

createFor
Link copied to clipboard
open override fun createFor(lens: LensesComponent.Lens): LensesComponent.RemoteApiService
Called to create a new instance of RemoteApiService scoped to a lifecycle of the provided lens.

Properties

supportedApiSpecIds
Link copied to clipboard
open override val supportedApiSpecIds: Set<String>
A set of API spec IDs that are supported by RemoteApiService instances created by this Factory.