public interface CapabilityManager
Modifier and Type | Interface and Description |
---|---|
static class |
CapabilityManager.Defaults
Contains the capabilities natively supported by KICL, which will be
requested automatically upon availability.
|
static interface |
CapabilityManager.WithManagement
A capability manager with management features.
|
Modifier and Type | Method and Description |
---|---|
@NonNull List<CapabilityState> |
getCapabilities()
Gets capabilities currently enabled.
|
default @NonNull Optional<CapabilityState> |
getCapability(@NonNull String name)
Gets an enabled capability by name.
|
@NonNull List<CapabilityState> |
getSupportedCapabilities()
Gets capabilities supported by the server.
|
default @NonNull Optional<CapabilityState> |
getSupportedCapability(@NonNull String name)
Gets a supported capability by name.
|
@NonNull List<CapabilityState> getCapabilities()
CapabilityRequestCommand
default @NonNull Optional<CapabilityState> getCapability(@NonNull String name)
name
- capability name@NonNull List<CapabilityState> getSupportedCapabilities()
CapabilityRequestCommand
default @NonNull Optional<CapabilityState> getSupportedCapability(@NonNull String name)
name
- capability nameCopyright © 2013–2021 Kitteh. All rights reserved.