KOFriendContext Class Reference

Inherits from KOBaseContext : NSObject
Declared in KOFriendContext.h

Overview

친구 목록 페이징의 정보를 처리하기 위한 Context

  serviceType

서비스 친구 타입.

@property (nonatomic, readonly) KOFriendServiceType serviceType

Declared In

KOFriendContext.h

  filterType

친구 필터링 타입.

@property (nonatomic, readonly) KOFriendFilterType filterType

Declared In

KOFriendContext.h

  orderType

친구 정렬 타입.

@property (nonatomic, readonly) KOFriendOrderType orderType

Declared In

KOFriendContext.h

+ contextWithServiceType:filterType:

친구 페이징 Context 를 생성한다.

+ (instancetype)contextWithServiceType:(KOFriendServiceType)serviceType filterType:(KOFriendFilterType)filterType

Parameters

serviceType

서비스 친구 타입.

filterType

친구 필터링 타입.

Declared In

KOFriendContext.h

+ contextWithServiceType:filterType:limit:

친구 페이징 Context 를 생성한다.

+ (instancetype)contextWithServiceType:(KOFriendServiceType)serviceType filterType:(KOFriendFilterType)filterType limit:(NSInteger)limit

Parameters

serviceType

서비스 친구 타입.

filterType

친구 필터링 타입.

limit

요청 시 제한하는 친구의 수.

Declared In

KOFriendContext.h

+ contextWithServiceType:filterType:secureResource:limit:orderType:ordering:

친구 페이징 Context 를 생성한다.

+ (instancetype)contextWithServiceType:(KOFriendServiceType)serviceType filterType:(KOFriendFilterType)filterType secureResource:(BOOL)secureResource limit:(NSInteger)limit orderType:(KOFriendOrderType)orderType ordering:(KOOrdering)ordering

Parameters

serviceType

서비스 친구 타입.

filterType

친구 필터링 타입.

secureResource

프로필 이미지, 썸네일 등의 리소스 url을 https로 반환할지 여부.

limit

요청 시 제한하는 친구의 수.

orderType

친구 정렬 타입.

ordering

정렬 방법.

Declared In

KOFriendContext.h

– initWithServiceType:filterType:secureResource:limit:orderType:ordering:

친구 페이징 Context 를 생성한다.

- (instancetype)initWithServiceType:(KOFriendServiceType)serviceType filterType:(KOFriendFilterType)filterType secureResource:(BOOL)secureResource limit:(NSInteger)limit orderType:(KOFriendOrderType)orderType ordering:(KOOrdering)ordering

Parameters

serviceType

서비스 친구 타입.

filterType

친구 필터링 타입.

secureResource

프로필 이미지, 썸네일 등의 리소스 url을 https로 반환할지 여부.

limit

요청 시 제한하는 친구의 수.

orderType

친구 정렬 타입.

ordering

정렬 방법.

Declared In

KOFriendContext.h