C# 클래스 Hyves.Service.FriendsService

Represents the service APIs that allow access to information on Hyves friends.
파일 보기 프로젝트 열기: Sitecore/Hyves-network-provider-for-Sitecore-Social-Connected-1.3

공개 메소드들

메소드 설명
GetConnection ( string userId ) : Collection

Retrieves the connections between the user the access token is for and another user. This corresponds to the friends.getConnection Hyves method.

GetDistance ( Collection userIds ) : Collection

Gets the distance for given friend ids with the current user. This corresponds to the friends.getDistance Hyves method.

GetFriends ( ) : Collection

Gets the friends of the current user. This corresponds to the friends.get Hyves method.

GetIncomingInvitations ( ) : Collection

Gets all incoming invitations for the logged in user. This corresponds to the friends.getIncomingInvitations Hyves method.

GetOutgoingInvitations ( ) : Collection

Gets all outgoing invitations for the logged in user. This corresponds to the friends.getOutgoingInvitations Hyves method.

비공개 메소드들

메소드 설명
FriendsService ( HyvesSession session ) : System

메소드 상세

GetConnection() 공개 메소드

Retrieves the connections between the user the access token is for and another user. This corresponds to the friends.getConnection Hyves method.
public GetConnection ( string userId ) : Collection
userId string The requested userId.
리턴 Collection

GetDistance() 공개 메소드

Gets the distance for given friend ids with the current user. This corresponds to the friends.getDistance Hyves method.
public GetDistance ( Collection userIds ) : Collection
userIds Collection The list of requested user Ids.
리턴 Collection

GetFriends() 공개 메소드

Gets the friends of the current user. This corresponds to the friends.get Hyves method.
public GetFriends ( ) : Collection
리턴 Collection

GetIncomingInvitations() 공개 메소드

Gets all incoming invitations for the logged in user. This corresponds to the friends.getIncomingInvitations Hyves method.
public GetIncomingInvitations ( ) : Collection
리턴 Collection

GetOutgoingInvitations() 공개 메소드

Gets all outgoing invitations for the logged in user. This corresponds to the friends.getOutgoingInvitations Hyves method.
public GetOutgoingInvitations ( ) : Collection
리턴 Collection