public interface PresenceResourceHelper extends ResourceUser
Modifier and Type | Method and Description |
---|---|
default CompletableFuture<Boolean> |
getIsPresent(boolean strict,
boolean ifNotPresent)
returns a CompletableFuture containing true if present, else false.
|
default CompletableFuture<Boolean> |
nonStrictAvailable()
updates the boolean a non Strict provider is available
|
generateResource, generateResource
debug, debug, error, error, getContext
getID, isOwner
default CompletableFuture<Boolean> nonStrictAvailable()
default CompletableFuture<Boolean> getIsPresent(boolean strict, boolean ifNotPresent)
strict
- true if only addons where it is highly likely that the user is around should be creating the resultifNotPresent
- the default valueCopyright © 2016. All rights reserved.