ConditionalService

Marks a service as being available under certain conditions.

You are still required to mark this class as a service with @BService.

All ConditionalServiceChecker must pass for this service to be instantiated.

See also

Properties

Link copied to clipboard
@get:JvmName(name = "value")
val checks: Array<out KClass<out ConditionalServiceChecker>>

Classes which implement ConditionalServiceChecker, all checks must pass for this service to be instantiated.