SocialManage groups, friends, invitations, get and search friends and group members in geographic context.This class is not part of the basic SDK.In order to use this class you must get an application id from AtlasCT. Summary
| |
| | | |
| |
| Creates a new social group. |
| |
| |
| The invited friend's reply to a friend invitation. |
| Returns a list of all my friends or requested friends if the request is by friend ids. |
| Returns a requested group details. |
| Returns a list of all requested group members. |
| Returns a list of all the social groups the user can invite others to join. |
| Returns a list of the social groups the user belongs to. |
| Retruns all the invitations snt to the user (friend invitations and join group invitations). |
| Returns all the open join group requests - this request is group owners. |
| Returns a list of invitations sent by a requested user. |
| Returns a requested social member's details. |
| This is the invited user's replay to a join group invitation sent to him. |
| This request is invitations to users to be your friend. |
| This is a request to join a social group. If the group is public the requesting user will automically be joined to the group. If the requested group is restricted then the request must be approved by the group owner. |
| This is an invitation sent to a user to join a social group. |
| This is a group owner reply to a join group request. |
| This is request to leave a social group the requesting user is a member of. |
| Removes existing friends. |
| Request made by group owner to remove a group member. |
| Searchs for your friends. |
| Searchs for a group members. |
| Searches for groups by given text. Returns only the public and restricted groups (not the private groups). |
| Updates a social group details (group name, description etc.). |
| |
| The message from the LBS server. |
| The ResponseStatus object of the users which includes the results from the server. |
| The response text from the LBS server. |
| The cause name result that return from the LBS server. |
| An array that contains a list of the causes result that return from the LBS server. |
| The cause type result that return from the LBS server. |
| The result id that return from the LBS server. |
| |
| |
| An array that contains a list of Group objects. |
addNewGroup
addNewGroup( |
string groupName | | |
string groupDescription | | |
string accessType | | |
string invitationType | | )
|
|
Creates a new social group.
Parameters
groupName | The group name. |
groupDescription | The group description. |
accessType | The access type of the group (PUBLIC, PRIVATE, RESTRICTED). |
invitationType | The invitation type of the group (OWNER, MEMBER). |
See Also
deleteGroup,
updateGroupDetails
cancelInvitation
cancelInvitation( |
string invitationId | | )
|
|
Cancel an invitation.
Parameters
invitationId | The invitation id. |
See Also
getSentInvitations
deleteGroup
deleteGroup( |
string groupId | | )
|
|
Deletes a social group.
ParametersSee Also
addNewGroup
friendInvitationReply
friendInvitationReply( |
string invitationIds | | |
string reply | | )
|
|
The invited friend's reply to a friend invitation.
Parameters
invitationIds | The invitation(s) id(s). |
reply | Reply command (APPROVE, REJECT). |
See Also
inviteNewFriends
getFriends
getFriends( |
string friendIds | | )
|
|
Returns a list of all my friends or requested friends if the request is by friend ids.
Parameters
friendIds | Friend(s) id(s). |
See Also
inviteNewFriends
getGroupDetails
getGroupDetails( |
string groupId | | )
|
|
Returns a requested group details.
ParametersSee Also
addNewGroup
getGroupMembers
getGroupMembers( |
string groupId | | )
|
|
Returns a list of all requested group members.
ParametersSee Also
joinGroup
getGroupsForInvitation
getGroupsForInvitation( |
string invitedUserId | | )
|
|
Returns a list of all the social groups the user can invite others to join.
Parameters
invitedUserId | The invited user id. |
See Also
joinGroupInvitation
getMemberGroups
Returns a list of the social groups the user belongs to.
See Also
joinGroup
getOpenInvitations
getOpenInvitations( |
string invitationId | | )
|
|
Retruns all the invitations snt to the user (friend invitations and join group invitations).
Parameters
invitationId | The invitation id. |
See Also
getSentInvitations
getOpenJoinGroupRequests
getOpenJoinGroupRequests( |
string groupId | | )
|
|
Returns all the open join group requests - this request is group owners.
Parameters
getSentInvitations
getSentInvitations( |
string replyStatuses | | )
|
|
Returns a list of invitations sent by a requested user.
Parameters
replyStatuses | The reply status (OPEN, APPROVE, REJECT). |
See Also
getOpenInvitations
getSocialMemberDetails
getSocialMemberDetails( |
string memberId | | )
|
|
Returns a requested social member's details.
Parameters
groupInvitationReply
groupInvitationReply( |
string groupId | | |
string invitationId | | |
string reply | | )
|
|
This is the invited user's replay to a join group invitation sent to him.
Parameters
groupId | The group id. |
invitationId | The invitation id. |
reply | The reply status (APPROVE, REJECT). |
inviteNewFriends
inviteNewFriends( |
string friendIds | | )
|
|
This request is invitations to users to be your friend.
Parameters
friendIds | The friends(s) id(s). |
See Also
getFriends,
friendInvitationReply
joinGroup
joinGroup( |
string groupId | | )
|
|
This is a request to join a social group. If the group is public the requesting user will automically be joined to the group. If the requested group is restricted then the request must be approved by the group owner.
ParametersSee Also
leaveGroup,
joinGroupReply
joinGroupInvitation
joinGroupInvitation( |
string groupId | | |
string invitedUserIds | | )
|
|
This is an invitation sent to a user to join a social group.
Parameters
groupId | The group id. |
invitedUserIds | The invited user id(s). |
joinGroupReply
joinGroupReply( |
string groupId | | |
string memberId | | |
string joinGroupRequestId | | |
string reply | | )
|
|
This is a group owner reply to a join group request.
Parameters
groupId | The group id. |
memberId | The member id. |
joinGroupRequestId | The join group request id. |
reply | The reply status (APPROVE, REJECT). |
leaveGroup
leaveGroup( |
string groupId | | )
|
|
This is request to leave a social group the requesting user is a member of.
ParametersSee Also
joinGroup
removeFriends
removeFriends( |
string friendIds | | )
|
|
Removes existing friends.
Parameters
friendIds | The friend(s) id(s). |
See Also
inviteNewFriends
removeGroupMember
removeGroupMember( |
string groupId | | |
string memberId | | )
|
|
Request made by group owner to remove a group member.
Parameters
groupId | The group id. |
memberId | The member id. |
See Also
joinGroup,
joinGroupInvitation,
joinGroupReply
searchGeoFriends
searchGeoFriends( |
string radius | | |
LatLong latLong | | )
|
|
Searchs for your friends.
Parameters
radius | The radius to search. |
latLong | The latlong point. |
searchGeoGroupsMembers
searchGeoGroupsMembers( |
string groupIds | | |
string radius | | |
LatLong latLong | | )
|
|
Searchs for a group members.
Parameters
groupIds | The group(s) id(s). |
radius | The radius to search. |
latLong | The latlong point. |
searchGroups
searchGroups( |
string searchTexts | | )
|
|
Searches for groups by given text. Returns only the public and restricted groups (not the private groups).
Parameters
searchTexts | The search text. |
updateGroupDetails
updateGroupDetails( |
string groupName | | |
string groupDescription | | |
string accessType | | |
string invitationType | | |
string groupId | | )
|
|
Updates a social group details (group name, description etc.).
Parameters
groupName | The group name. |
groupDescription | The group description. |
accessType | The access type of the group (PUBLIC, PRIVATE, RESTRICTED). |
invitationType | The invitation type of the group (OWNER, MEMBER). |
groupId | The group id. |
See Also
addNewGroup,
deleteGroup
responseMessage
The message from the LBS server.
responseStatus
The ResponseStatus object of the users which includes the results from the server.
responseText
The response text from the LBS server.
resultCauseName
The cause name result that return from the LBS server.
resultCausesList
An array that contains a list of the causes result that return from the LBS server.
resultCauseType
The cause type result that return from the LBS server.
resultId
The result id that return from the LBS server.
resultStatusCode
interger resultStatusCode |
Equal to resultId.
groupList
An array that contains a list of Group objects.
|