Modifier and Type | Method and Description |
---|---|
void |
OAuthAuthenticator.authorize(java.lang.String code,
CompletionHandler<java.lang.Void> handler)
Authorize with the OAuth authorization code
|
void |
SSOAuthenticator.authorize(android.webkit.WebView view,
CompletionHandler<java.lang.Void> handler)
Brings up a web-based authorization view and directs the user through the OAuth process.
|
void |
OAuthWebViewAuthenticator.authorize(android.webkit.WebView view,
CompletionHandler<java.lang.Void> handler)
Brings up a web-based authorization view and directs the user through the OAuth process.
|
void |
SSOAuthenticator.getToken(CompletionHandler<java.lang.String> handler) |
void |
OAuthAuthenticator.getToken(CompletionHandler<java.lang.String> handler) |
void |
OAuthWebViewAuthenticator.getToken(CompletionHandler<java.lang.String> handler) |
void |
Authenticator.getToken(CompletionHandler<java.lang.String> handler)
Returns an access token of this authenticator.
|
void |
JWTAuthenticator.getToken(CompletionHandler<java.lang.String> handler) |
void |
SSOAuthenticator.refreshToken(CompletionHandler<java.lang.String> handler) |
void |
OAuthAuthenticator.refreshToken(CompletionHandler<java.lang.String> handler) |
void |
OAuthWebViewAuthenticator.refreshToken(CompletionHandler<java.lang.String> handler) |
void |
Authenticator.refreshToken(CompletionHandler<java.lang.String> handler)
Refresh an access token of this authenticator.
|
void |
JWTAuthenticator.refreshToken(CompletionHandler<java.lang.String> handler) |
Modifier and Type | Method and Description |
---|---|
void |
MembershipClient.create(java.lang.String roomId,
java.lang.String personId,
java.lang.String personEmail,
boolean isModerator,
CompletionHandler<Membership> handler)
Adds a person to a room by person id; optionally making the person a moderator.
|
void |
MembershipClient.delete(java.lang.String membershipId,
CompletionHandler<java.lang.Void> handler)
Deletes a membership by membership id.
|
void |
MembershipClient.get(java.lang.String membershipId,
CompletionHandler<Membership> handler)
Retrieves the details for a membership by membership id.
|
void |
MembershipClient.list(java.lang.String roomId,
java.lang.String personId,
java.lang.String personEmail,
int max,
CompletionHandler<java.util.List<Membership>> handler)
Lists all room memberships where the authenticated user belongs.
|
void |
MembershipClient.update(java.lang.String membershipId,
boolean isModerator,
CompletionHandler<Membership> handler)
Updates the properties of a membership by membership id.
|
Modifier and Type | Method and Description |
---|---|
void |
MessageClient.delete(java.lang.String messageId,
CompletionHandler<java.lang.Void> handler)
Deletes a message by message id.
|
void |
MessageClient.downloadFile(RemoteFile remoteFile,
java.lang.String to,
MessageClient.ProgressHandler progressHandler,
CompletionHandler<android.net.Uri> completionHandler) |
void |
MessageClient.downloadThumbnail(RemoteFile remoteFile,
java.lang.String to,
MessageClient.ProgressHandler progressHandler,
CompletionHandler<android.net.Uri> completionHandler) |
void |
MessageClient.get(java.lang.String messageId,
CompletionHandler<Message> handler)
Retrieves the details for a message by message Id.
|
void |
MessageClient.list(java.lang.String roomId,
java.lang.String before,
java.lang.String beforeMessage,
java.lang.String mentionedPeople,
int max,
CompletionHandler<java.util.List<Message>> handler)
Lists all messages in a room by room Id.
|
void |
MessageClient.post(java.lang.String idOrEmail,
java.lang.String text,
Mention[] mentions,
LocalFile[] files,
CompletionHandler<Message> handler) |
void |
MessageClient.post(java.lang.String roomId,
java.lang.String personId,
java.lang.String personEmail,
java.lang.String text,
java.lang.String markdown,
java.lang.String[] files,
CompletionHandler<Message> handler)
Posts a plain text message, and optionally, a media content attachment, to a room by room Id.
|
Modifier and Type | Method and Description |
---|---|
void |
PersonClient.create(java.lang.String email,
java.lang.String displayName,
java.lang.String firstName,
java.lang.String lastName,
java.lang.String avatar,
java.lang.String orgId,
java.lang.String roles,
java.lang.String licenses,
CompletionHandler<Person> handler)
Create people in the authenticated user's organization.
|
void |
PersonClient.delete(java.lang.String personId,
CompletionHandler<java.lang.Void> handler)
Delete the details of person by person id.
|
void |
PersonClient.get(java.lang.String personId,
CompletionHandler<Person> handler)
Retrieves the details for a person by person id.
|
void |
PersonClient.getMe(CompletionHandler<Person> handler)
Retrieves the details for the authenticated user.
|
void |
PersonClient.list(java.lang.String email,
java.lang.String displayName,
int max,
CompletionHandler<java.util.List<Person>> handler)
Lists people in the authenticated user's organization.
|
void |
PersonClient.update(java.lang.String personId,
java.lang.String email,
java.lang.String displayName,
java.lang.String firstName,
java.lang.String lastName,
java.lang.String avatar,
java.lang.String orgId,
java.lang.String roles,
java.lang.String licenses,
CompletionHandler<Person> handler)
Update people in the authenticated user's organization.
|
Modifier and Type | Method and Description |
---|---|
void |
Call.acknowledge(CompletionHandler<java.lang.Void> callback)
Acknowledge (without answering) an incoming call.
|
void |
Call.answer(MediaOption option,
CompletionHandler<java.lang.Void> callback)
Answers this call.
|
void |
Phone.deregister(CompletionHandler<java.lang.Void> callback)
Removes this *phone* from Cisco Spark cloud on behalf of the authenticated user.
|
void |
Phone.dial(java.lang.String dialString,
MediaOption option,
CompletionHandler<Call> callback)
Makes a call to an intended recipient on behalf of the authenticated user.
|
void |
Call.hangup(CompletionHandler<java.lang.Void> callback)
Disconnects this call.
|
void |
Phone.register(CompletionHandler<java.lang.Void> callback)
Registers this phone to Cisco Spark cloud on behalf of the authenticated user.
|
void |
Call.reject(CompletionHandler<java.lang.Void> callback)
Rejects this call.
|
void |
Phone.requestVideoCodecActivation(android.app.AlertDialog.Builder builder,
CompletionHandler<java.lang.Boolean> callback)
Pops up an Alert for the end user to approve the use of H.264 codec license from Cisco Systems, Inc.
|
void |
Call.sendDTMF(java.lang.String dtmf,
CompletionHandler<java.lang.Void> callback)
Sends DTMF events to the remote party.
|
void |
Call.startSharing(CompletionHandler<java.lang.Void> callback) |
void |
Call.stopSharing(CompletionHandler<java.lang.Void> callback) |
Modifier and Type | Method and Description |
---|---|
void |
RoomClient.create(java.lang.String title,
java.lang.String teamId,
CompletionHandler<Room> handler)
Creates a room.
|
void |
RoomClient.delete(java.lang.String roomId,
CompletionHandler<java.lang.Void> handler)
Deletes a room by id.
|
void |
RoomClient.get(java.lang.String roomId,
CompletionHandler<Room> handler)
Retrieves the details for a room by id.
|
void |
RoomClient.list(java.lang.String teamId,
int max,
Room.RoomType type,
RoomClient.SortBy sortBy,
CompletionHandler<java.util.List<Room>> handler)
Lists all rooms where the authenticated user belongs.
|
void |
RoomClient.update(java.lang.String roomId,
java.lang.String title,
CompletionHandler<Room> handler)
Updates the details for a room by id.
|
Modifier and Type | Method and Description |
---|---|
void |
TeamClient.create(java.lang.String name,
CompletionHandler<Team> handler)
Creates a team.
|
void |
TeamMembershipClient.create(java.lang.String teamId,
java.lang.String personId,
java.lang.String personEmail,
boolean isModerator,
CompletionHandler<TeamMembership> handler)
Adds a person to a team by person id; optionally making the person a moderator of the team.
|
void |
TeamMembershipClient.delete(java.lang.String membershipId,
CompletionHandler<java.lang.Void> handler)
Deletes a membership by id.
|
void |
TeamClient.delete(java.lang.String teamId,
CompletionHandler<java.lang.Void> handler) |
void |
TeamClient.get(java.lang.String teamId,
CompletionHandler<Team> handler)
Retrieves the details for a team by id.
|
void |
TeamMembershipClient.get(java.lang.String membershipId,
CompletionHandler<TeamMembership> handler)
Retrieves the details for a membership by id.
|
void |
TeamClient.list(int max,
CompletionHandler<java.util.List<Team>> handler)
Lists teams to which the authenticated user belongs.
|
void |
TeamMembershipClient.list(java.lang.String teamId,
int max,
CompletionHandler<java.util.List<TeamMembership>> handler)
Lists all team memberships where the authenticated user belongs.
|
void |
TeamMembershipClient.update(java.lang.String membershipId,
boolean isModerator,
CompletionHandler<TeamMembership> handler)
Updates the details for a membership by id.
|
void |
TeamClient.update(java.lang.String teamId,
java.lang.String name,
CompletionHandler<Team> handler)
Updates the details for a team by id.
|
Modifier and Type | Method and Description |
---|---|
void |
WebhookClient.create(java.lang.String name,
java.lang.String targetUrl,
java.lang.String resource,
java.lang.String event,
java.lang.String filter,
java.lang.String secret,
CompletionHandler<Webhook> handler)
Posts a webhook for the authenticated user.
|
void |
WebhookClient.delete(java.lang.String webhookId,
CompletionHandler<java.lang.Void> handler)
Deletes a webhook by id.
|
void |
WebhookClient.get(java.lang.String webhookId,
CompletionHandler<Webhook> handler)
Retrieves the details for a webhook by id.
|
void |
WebhookClient.list(int max,
CompletionHandler<java.util.List<Webhook>> handler)
Lists all webhooks of the authenticated user.
|
void |
WebhookClient.update(java.lang.String webhookId,
java.lang.String name,
java.lang.String targetUrl,
CompletionHandler<Webhook> handler)
Updates a webhook by id.
|
void |
WebhookClient.update(java.lang.String webhookId,
java.lang.String name,
java.lang.String targetUrl,
java.lang.String secret,
java.lang.String status,
CompletionHandler<Webhook> handler)
Updates a webhook by id.
|