public class RecipientQuickState
extends java.lang.Object
Client.requestRecipientQuickState(String), this wraps information about the QUICK state of a recipient.| Constructor and Description |
|---|
RecipientQuickState(boolean quickEnabled,
boolean quickInvited,
boolean quickInvitationAccepted,
boolean quickConnectionMatching,
QuickConnectionState quickConnectionState,
boolean passwordAccessPossible)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
QuickConnectionState |
getQuickConnectionState()
Returns the state of the current QUICK connection between the sender of the transfer and the recipient.
|
boolean |
isPasswordAccessPossible()
Returns whether the QUICK transfer is also accessible by password.
|
boolean |
isQuickConnectionMatching()
Returns whether the current QUICK connection (whose state is exposed by
getQuickConnectionState()) is still
the same one as it was during the joining process. |
boolean |
isQuickEnabled()
Returns whether the transfer was sent to the recipient with QUICK enabled or not.
|
boolean |
isQuickInvitationAccepted()
Returns whether the recipient has accepted the invitation to join a QUICK connection using this transfer or not.
|
boolean |
isQuickInvited()
Returns whether the recipient has been invited to join a QUICK connection using this transfer or not.
|
public RecipientQuickState(boolean quickEnabled,
boolean quickInvited,
boolean quickInvitationAccepted,
boolean quickConnectionMatching,
QuickConnectionState quickConnectionState,
boolean passwordAccessPossible)
quickEnabled - Whether the transfer was sent to the recipient with QUICK enabled or not.quickInvited - Whether the recipient has been invited to join a QUICK connection using this transfer or not.quickInvitationAccepted - Whether the recipient has accepted the invitation to join a QUICK connection using this transfer or not.quickConnectionMatching - Whether the current QUICK connection is still the same one as it was during the joining process.quickConnectionState - The state of the current QUICK connection between the sender of the transfer and the recipient.passwordAccessPossible - Whether the QUICK transfer is also accessible by password. This is the case if at least one
recipient has been invited using a password.public boolean isQuickEnabled()
true, if QUICK was enabled, false otherwise.public boolean isQuickInvited()
true, if the recipient has been invited, false otherwise.public boolean isQuickInvitationAccepted()
false if isQuickInvited() is false.true, if the recipient is invited and has accepted, false otherwise.public boolean isQuickConnectionMatching()
getQuickConnectionState()) is still
the same one as it was during the joining process.
This is always false if getQuickConnectionState() is QuickConnectionState.NONE.true, if there is a QUICK connection state is established or pending,
and the connection is still the same, false otherwise.public QuickConnectionState getQuickConnectionState()
QuickConnectionState representing the QUICK connection state between the sender and the recipient.public boolean isPasswordAccessPossible()
true, if the transfer is also accessible by password, false otherwise.