Store the information of the users that the current user has friendships invitations.
More...
|
string | uid_ |
| string that contains the user id of the user that has sended the friendship invitation. More...
|
|
string | displayName_ |
| string that contains the display name of the user that has sended the friendship invitation. More...
|
|
List< string > | acceptedFriendsInvitations_ |
| list of string that contains the accepted friendships invitations of the user that sended the friendship invitation. This is necessary because if the friendship invitation is accepted the user id of the current user has to be added to the list. It has to be a list because more than one friend can accept your invitations before you connect to the app again. More...
|
|
Store the information of the users that the current user has friendships invitations.
◆ newFriendData()
newFriendData.newFriendData |
( |
string |
uid, |
|
|
string |
displayName, |
|
|
List< string > |
acceptedFriends |
|
) |
| |
constructor
- Parameters
-
string | that contains the user id |
string | that contains the user display name |
list | of strings that contains the user id of the users that have accepted his invitations. |
◆ addAcceptedFriendInvitation()
void newFriendData.addAcceptedFriendInvitation |
( |
string |
uid | ) |
|
this method add the given user id to the list of the accepted friends of the represented user.
- Parameters
-
string | that contains the user id of the added user. |
◆ getDisplayName()
string newFriendData.getDisplayName |
( |
| ) |
|
getter of the displayName_ property.
- Returns
- string that contains the display name of the represented user.
◆ getStringConversionOfAcceptedFriendInvitations()
string newFriendData.getStringConversionOfAcceptedFriendInvitations |
( |
| ) |
|
this method returns a string conversion of the accepted friends list on the json format.
- Returns
- string conversion of the accepted friends list on json formart.
◆ getUid()
string newFriendData.getUid |
( |
| ) |
|
getter of the uid_ property.
- Returns
- string that contains the user id of the represented user.
◆ acceptedFriendsInvitations_
List<string> newFriendData.acceptedFriendsInvitations_ |
|
private |
list of string that contains the accepted friendships invitations of the user that sended the friendship invitation. This is necessary because if the friendship invitation is accepted the user id of the current user has to be added to the list. It has to be a list because more than one friend can accept your invitations before you connect to the app again.
◆ displayName_
string newFriendData.displayName_ |
|
private |
string that contains the display name of the user that has sended the friendship invitation.
◆ uid_
string newFriendData.uid_ |
|
private |
string that contains the user id of the user that has sended the friendship invitation.
The documentation for this class was generated from the following file: