public interface OperationSetExtendedAuthorizations extends OperationSet
Modifier and Type | Interface and Description |
---|---|
static class |
OperationSetExtendedAuthorizations.SubscriptionStatus
The available subscription of the contact.
|
Modifier and Type | Method and Description |
---|---|
void |
explicitAuthorize(Contact contact)
Send a positive authorization to contact thus allowing them to
add us to their contact list without needing to first request an
authorization.
|
OperationSetExtendedAuthorizations.SubscriptionStatus |
getSubscriptionStatus(Contact contact)
Returns the subscription status for the contact or
if not available returns null.
|
void |
reRequestAuthorization(AuthorizationRequest request,
Contact contact)
Send an authorization request, requesting contact to add them
to our contact list?
|
void explicitAuthorize(Contact contact) throws OperationFailedException
contact
- the Contact whom we're granting authorization
prior to receiving a request.OperationFailedException
- if we fail sending the authorization.void reRequestAuthorization(AuthorizationRequest request, Contact contact) throws OperationFailedException
request
- the AuthorizationRequest that we'd like the
protocol provider to send to contact.contact
- the Contact who we'd be asking for an
authorization.OperationFailedException
- if we fail sending the authorization
request.OperationSetExtendedAuthorizations.SubscriptionStatus getSubscriptionStatus(Contact contact)
contact
- the contact to query for subscription status.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.