HIVE SDK for Android

Classes | Functions
SocialHive

SocialHive More...

Classes

enum  com.hive.SocialHive.FriendType
 Types of Friend list. More...
 
enum  com.hive.SocialHive.HiveDialogType
 Types of HIVE Social WebView Dialog. More...
 
enum  com.hive.SocialHive.HiveRelationRoute
 HIVE The path form of friendship. More...
 
class  com.hive.SocialHive.ProfileHive
 HIVE user profile information
More...
 
class  com.hive.SocialHive.MessageContent
 Message information. More...
 
class  com.hive.SocialHive.SocialBadge
 HIVE Social Badge information. More...
 
class  com.hive.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. More...
 

Functions

static void com.hive.SocialHive.getMyProfile (ProfileListener listener)
 Request profile information of HIVE certified users. More...
 
static void com.hive.SocialHive.setMyProfile (String displayName, ProfileListener listener)
 Set profile information of HIVE certified users. More...
 
static void com.hive.SocialHive.getFriends (FriendType friendType, ProfileListener listener)
 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...
 
static void com.hive.SocialHive.getProfiles (String[] vidList, ProfileListener listener)
 HIVE 사용자 정보를 조회한다. More...
 
static void com.hive.SocialHive.sendMessage (MessageContent messageContent, SendMessageListener listener)
 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...
 
static void com.hive.SocialHive.sendInvitationMessage (MessageContent messageContent, SendMessageListener listener)
 Send a invite message to HIVE user. More...
 
static void com.hive.SocialHive.showHiveDialog (HiveDialogType hiveDialogType, String vid, ShowHiveDialogListener listener)
 Show HIVE WebView dialog
(- HIVE Social's default first screen (feed){ HiveDialogType::HOME}
More...
 
static void com.hive.SocialHive.getBadgeInfo (SocialBadgeListener listener)
 Request HIVE Social Badge info. More...
 
void com.hive.SocialHive.ProfileListener.onProfile (ResultAPI result, List< ProfileHive > profileList)
 Returns HIVE Profile / Friend Information. More...
 
void com.hive.SocialHive.SendMessageListener.onSendMessage (ResultAPI result)
 Returns HIVE message transmission result. More...
 
void com.hive.SocialHive.ShowHiveDialogListener.onShowHiveDialog (ResultAPI result)
 Returns showing HIVE Social dialog result. More...
 
void com.hive.SocialHive.SocialBadgeListener.onSocialBadge (ResultAPI result, SocialBadge badge)
 HIVE Social Badge information. More...
 

Detailed Description

SocialHive

Function Documentation

§ getBadgeInfo()

static void com.hive.SocialHive.getBadgeInfo ( SocialBadgeListener  listener)
static

Request HIVE Social Badge info.

Parameters
listenerSocialBadgeListener HIVE SocialBadge info result listener

§ getFriends()

static void com.hive.SocialHive.getFriends ( FriendType  friendType,
ProfileListener  listener 
)
static

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.

Parameters
friendTypeTypes of Friend list
listenerAPI call result listener

§ getMyProfile()

static void com.hive.SocialHive.getMyProfile ( ProfileListener  listener)
static

Request profile information of HIVE certified users.

Parameters
listenerAPI call result listener

§ getProfiles()

static void com.hive.SocialHive.getProfiles ( String []  vidList,
ProfileListener  listener 
)
static

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

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

§ onProfile()

void com.hive.SocialHive.ProfileListener.onProfile ( ResultAPI  result,
List< ProfileHive 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.)

§ onSendMessage()

void com.hive.SocialHive.SendMessageListener.onSendMessage ( ResultAPI  result)

Returns HIVE message transmission result.

Parameters
resultAPI call result

§ onShowHiveDialog()

void com.hive.SocialHive.ShowHiveDialogListener.onShowHiveDialog ( ResultAPI  result)

Returns showing HIVE Social dialog result.

Parameters
resultAPI call result

§ onSocialBadge()

void com.hive.SocialHive.SocialBadgeListener.onSocialBadge ( ResultAPI  result,
SocialBadge  badge 
)

HIVE Social Badge information.

Parameters
resultAPI call result
badgeHIVE-Social Badge information

§ sendInvitationMessage()

static void com.hive.SocialHive.sendInvitationMessage ( MessageContent  messageContent,
SendMessageListener  listener 
)
static

Send a invite message to HIVE user.

Parameters
messageContentInformation to send HIVE invite message
listenerAPI call result listener

§ sendMessage()

static void com.hive.SocialHive.sendMessage ( MessageContent  messageContent,
SendMessageListener  listener 
)
static

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.


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
listenerAPI call result listener

§ setMyProfile()

static void com.hive.SocialHive.setMyProfile ( String  displayName,
ProfileListener  listener 
)
static

Set profile information of HIVE certified users.

Parameters
displayNameMessage of user's status
listenerAPI call result listener

§ showHiveDialog()

static void com.hive.SocialHive.showHiveDialog ( HiveDialogType  hiveDialogType,
String  vid,
ShowHiveDialogListener  listener 
)
static

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

Parameters
hiveDialogTypeHiveDialogType Type of HIVE WebView Dialog
vidIf you go directly to your friend's profile page, set your friend's vid
listenerAPI call result listener
Copyright © GAMEVIL COM2US PLATFORM Inc. All Right Reserved. Terms of Use Privacy Policy