|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CommunicationOperations
Operations related to sending messages and sending connect invitations to other users on LinkedIn
Method Summary | |
---|---|
void |
connectTo(java.lang.String subject,
java.lang.String body,
java.lang.String recipientId,
ConnectionAuthorization connectionAuthorization)
Send a connect invitation message to recipientId. |
void |
connectTo(java.lang.String subject,
java.lang.String body,
java.lang.String email,
java.lang.String firstName,
java.lang.String lastName)
Send a connect invitation message to and email (for users not on LinkedIn) |
void |
sendMessage(java.lang.String subject,
java.lang.String body,
java.util.List<java.lang.String> recipientIds)
Send a textual message to a list of recipientIds Requires id from LinkedInProfile object |
void |
sendMessage(java.lang.String subject,
java.lang.String body,
java.lang.String... recipientIds)
Send a textual message to recipientId(s) Requires id from LinkedInProfile object |
Method Detail |
---|
void sendMessage(java.lang.String subject, java.lang.String body, java.util.List<java.lang.String> recipientIds)
subject
- The subject of messagebody
- The body or text of message (does not support html)recipientIds
- List of idsvoid sendMessage(java.lang.String subject, java.lang.String body, java.lang.String... recipientIds)
subject
- The subject of messagebody
- The body or text of message (does not support html)recipientIds
- One of more idsvoid connectTo(java.lang.String subject, java.lang.String body, java.lang.String recipientId, ConnectionAuthorization connectionAuthorization)
ConnectionAuthorization
object.
This object is available from a LinkedInProfile
object after doing a search.
subject
- The subject of messagebody
- The body or text of message (does not support html)recipientId
- Id of recipientconnectionAuthorization
- authorization required to create a connection the connection.void connectTo(java.lang.String subject, java.lang.String body, java.lang.String email, java.lang.String firstName, java.lang.String lastName)
subject
- The subject of messagebody
- The body or text of message (does not support html)email
- Email address of recipientfirstName
- First Name of recipientlastName
- Last Name of recipient
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |