HIVE SDK for iOS

Classes | Typedefs | Functions
SocialHive

SocialHiveHIVE users can view and modify their profile information and provide a social game service where they can make friends and play games with their friends together. More...

Classes

class  HIVEProfileHive
 HIVE user profile information
More...
 
class  HIVEMessageContent
 Message information. More...
 
class  HIVESocialBadge
 HIVE Social Badge information. More...
 
class  HIVESocialHive
 HIVE users can view and modify their profile information and provide a social game service where they can make friends and play games with their friends together. More...
 

Typedefs

typedef void(^ HIVESocialProfileHandler) (HIVEResultAPI *result, NSArray< HIVEProfileHive *> *profileList)
 Returns HIVE Profile / Friend Information. More...
 
typedef void(^ HIVESocialSendMessageHandler) (HIVEResultAPI *result)
 Returns HIVE message transmission result. More...
 
typedef void(^ HIVESocialShowHiveDialogHandler) (HIVEResultAPI *result)
 Returns showing HIVE Social dialog result. More...
 
typedef void(^ HIVESocialBadgeHandler) (HIVEResultAPI *result, HIVESocialBadge *badge)
 HIVE Social Badge information. More...
 

Functions

typedef NS_ENUM (NSUInteger, HIVEFriendType)
 Types of Friend list. More...
 
typedef NS_ENUM (NSUInteger, HIVEDialogType)
 Types of HIVE Social WebView Dialog. More...
 
typedef NS_ENUM (NSUInteger, HIVEProfileRelationRouteType)
 HIVE The path form of friendship. More...
 
(void) + HIVESocialHive::getMyProfile:
 Request profile information of HIVE certified users. More...
 
(void) + HIVESocialHive::setMyProfile:handler:
 Set profile information of HIVE certified users. More...
 
(void) + HIVESocialHive::getFriends:handler:
 Request HIVE Profile / Friend Information In the form of friends, there are friends who play games together, friends who do not play games, friends who invite games, all friends, and these are defined by an enum called FriendType. More...
 
(void) + HIVESocialHive::getProfiles:handler:
 HIVE 사용자 정보를 조회한다. More...
 
(void) + HIVESocialHive::sendMessage:handler:
 Send message to HIVE friend
If you send a message to a HIVE friend, a push notification will be sent to the recipient who has received the message. More...
 
(void) + HIVESocialHive::sendInvitationMessage:handler:
 Send a invite message to HIVE user. More...
 
(void) + HIVESocialHive::showHiveDialog:vid:handler:
 Show HIVE WebView dialog
(- HIVE Social's default first screen (feed){ HiveDialogType::HOME}
More...
 
(void) + HIVESocialHive::getBadgeInfo:
 Request HIVE Social Badge info. More...
 

Detailed Description

SocialHive

HIVE users can view and modify their profile information and provide a social game service where they can make friends and play games with their friends together.


HIVE can make HIVE friends and synchronize the list by using external user information such as Facebook and contacts on your device.
SocialHive class provides HIVE user profile, friend list and social web

Typedef Documentation

§ HIVESocialBadgeHandler

typedef void(^ HIVESocialBadgeHandler) (HIVEResultAPI *result, HIVESocialBadge *badge)

HIVE Social Badge information.

Parameters
resultAPI call result
badgeHIVE-Social Badge information

§ HIVESocialProfileHandler

typedef void(^ HIVESocialProfileHandler) (HIVEResultAPI *result, NSArray< HIVEProfileHive * > *profileList)

Returns HIVE Profile / Friend Information.

Parameters
resultAPI call result
profileListHIVE user's profile list.

(If you ask for your profile, one result is returned, and if you ask for friends list, a list of friends is returned.)

§ HIVESocialSendMessageHandler

typedef void(^ HIVESocialSendMessageHandler) (HIVEResultAPI *result)

Returns HIVE message transmission result.

Parameters
resultAPI call result

§ HIVESocialShowHiveDialogHandler

typedef void(^ HIVESocialShowHiveDialogHandler) (HIVEResultAPI *result)

Returns showing HIVE Social dialog result.

Parameters
resultAPI call result

Function Documentation

§ getBadgeInfo:()

+ (void) getBadgeInfo: (HIVESocialBadgeHandler handler

Request HIVE Social Badge info.

HIVE social badge 정보를 얻어온다.

Parameters
handlerHIVESocialBadgeHandler HIVE SocialBadge info result handler
handlerAPI 호출 결과 통지 리스너

§ getFriends:handler:()

+ (void) getFriends: (HIVEFriendType)  friendType
handler: (HIVESocialProfileHandler handler 

Request HIVE Profile / Friend Information In the form of friends, there are friends who play games together, friends who do not play games, friends who invite games, all friends, and these are defined by an enum called FriendType.

Hive 친구 정보 조회

Parameters
friendTypeTypes of Friend list
handlerAPI call result handler
friendType조회 할 친구의 형태
handlerAPI 결과 통지 리스너

§ getMyProfile:()

+ (void) getMyProfile: (HIVESocialProfileHandler handler

Request profile information of HIVE certified users.

Hive 로그인 후 자신의 프로필 정보 조회

Parameters
handlerAPI call result handler
handlerAPI 결과 통지 리스너

§ getProfiles:handler:()

+ (void) getProfiles: (NSArray<NSString *> *)  vidList
handler: (HIVESocialProfileHandler handler 

HIVE 사용자 정보를 조회한다.

HIVE 사용자 정보를 조회한ㄷ.

Parameters
vidList조회하고자 하는 사용자의 VID 목록
handlerAPI 결과 통지

§ NS_ENUM() [1/3]

typedef NS_ENUM ( NSUInteger  ,
HIVEFriendType   
)

Types of Friend list.

< If you are playing a game and they are friends on HIVE.

< If you are not playing games, but they are friends on HIVE.

< Friends invited by HIVE Social.

< All friends on HIVE.

§ NS_ENUM() [2/3]

typedef NS_ENUM ( NSUInteger  ,
HIVEDialogType   
)

Types of HIVE Social WebView Dialog.

< HIVE Social home.

< HIVE Social game list.

< HIVE Social user profile.

< HIVE Social Cafe.

< HIVE 1:1 Inquiry.

< HIVE Note. Only for HIVE user.

§ NS_ENUM() [3/3]

typedef NS_ENUM ( NSUInteger  ,
HIVEProfileRelationRouteType   
)

HIVE The path form of friendship.

< not set

< Through HIVE Social.

< Through Facebook.

< Through Game.

< Through Contacts.

§ sendInvitationMessage:handler:()

+ (void) sendInvitationMessage: (HIVEMessageContent *)  messageContent
handler: (HIVESocialSendMessageHandler handler 

Send a invite message to HIVE user.

Hive 친구에게 초대 메시지 전송 요청

Parameters
messageContentInformation to send HIVE invite message
handlerAPI call result handler
messageContent메시지 정보
handlerAPI 결과 통지 리스너

§ sendMessage:handler:()

+ (void) sendMessage: (HIVEMessageContent *)  messageContent
handler: (HIVESocialSendMessageHandler handler 

Send message to HIVE friend
If you send a message to a HIVE friend, a push notification will be sent to the recipient who has received the message.

Hive 친구에게 메시지 전송 요청


The medium to which the push notification is sent is the same game as the game that the sender is using, or a game that has been used recently.
When the recipient receives the push notification and touches the message, the game is executed, so the UI that leads to the HIVE message should be included in the game.

Parameters
messageContentInformation to send HIVE message
handlerAPI call result handler
messageContent메시지 정보
handlerAPI 결과 통지 리스너

§ setMyProfile:handler:()

+ (void) setMyProfile: (NSString *)  comment
handler: (HIVESocialProfileHandler handler 

Set profile information of HIVE certified users.

로그인 후 자신의 프로필 정보 설정

Parameters
commentMessage of user's status
handlerAPI call result handler
comment자신의 '오늘의 한마디'
handlerAPI 결과 통지 리스너

§ showHiveDialog:vid:handler:()

+ (void) showHiveDialog: (HIVEDialogType)  hiveDialogType
vid: (NSString *)  vid
handler: (HIVESocialShowHiveDialogHandler handler 

Show HIVE WebView dialog
(- HIVE Social's default first screen (feed){ HiveDialogType::HOME}

HIVE 웹뷰 대화상자 호출 (HIVE의 기본 첫 화면 (피드), 게임 목록 페이지, 자신의 프로필 페이지, Hive 카페 페이지, 1:1 문의 하기)

  • Profile page{ HiveDialogType::USER}
  • Games{ HiveDialogType::GAME}
  • HIVE Cafe{ HiveDialogType::CAFE}
  • 1:1 Contact us { HiveDialogType::INQUIRY})
  • HIVE Note. { HiveDialogType::MESSAGE}
Parameters
hiveDialogTypeHiveDialogType Type of HIVE WebView Dialog
vidIf you go directly to your friend's profile page, set your friend's vid
handlerAPI call result handler
hiveDialogTypeHIVE 웹뷰 대화상자 형태
vidvid
handlerAPI 호출 결과 통지 리스너
Copyright © GAMEVIL COM2US PLATFORM Inc. All Right Reserved. Terms of Use Privacy Policy