@addgroup SocialHive
More...
|
enum class | FriendType { FriendType::IN_GAME
, FriendType::OUT_GAME
, FriendType::INVITED
, FriendType::ALL_GAME
} |
| Types of Friend list. More...
|
|
enum class | HiveDialogType {
HiveDialogType::HOME
, HiveDialogType::GAME
, HiveDialogType::USER
, HiveDialogType::INQUIRY
,
HiveDialogType::MESSAGE
, HiveDialogType::CHATBOT
, HiveDialogType::MYINQUIRY
} |
| Types of HIVE Social WebView Dialog. More...
|
|
enum class | HiveRelationRoute {
HiveRelationRoute::DEFAULT
, HiveRelationRoute::HIVE
, HiveRelationRoute::FACEBOOK
, HiveRelationRoute::GAME
,
HiveRelationRoute::CONTACT
} |
| HIVE The path form of friendship. More...
|
|
|
static void | SocialHive::getMyProfile (onProfileHive listener) |
| Request profile information of HIVE certified users. More...
|
|
static void | SocialHive::setMyProfile (std::string displayName, onProfileHive listener) |
| Set profile information of HIVE certified users. More...
|
|
static void | SocialHive::getFriends (FriendType friendType, onProfileHive 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 | SocialHive::getProfiles (std::vector< std::string > vidList, onProfileHive listener) |
| HIVE 사용자 정보를 조회한다. More...
|
|
static void | SocialHive::sendMessage (MessageContent messageContent, onSendMessageHive 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 | SocialHive::sendInvitationMessage (MessageContent messageContent, onSendMessageHive listener) |
| Send a invite message to HIVE user. More...
|
|
static void | SocialHive::showHiveDialog (HiveDialogType hiveDialogType, std::string vid, onShowHiveDialog listener) |
| Show HIVE WebView dialog
(- HIVE Social's default first screen (feed){@inheritDoc HiveDialogType::HOME}
More...
|
|
static void | SocialHive::showHiveDialog (HiveDialogType hiveDialogType, std::string vid, std::string additionalInfo, onShowHiveDialog listener) |
| Show HIVE WebView dialog
(- HIVE Social's default first screen (feed){@inheritDoc HiveDialogType::HOME}
More...
|
|
static void | SocialHive::getBadgeInfo (onGetBadgeInfo listener) |
| Request HIVE Social Badge info. More...
|
|
@addgroup SocialHive
◆ onGetBadgeInfo
HIVE Social Badge information.
- Parameters
-
result | API call result |
badge | HIVE-Social Badge information |
◆ onProfileHive
Returns HIVE Profile / Friend Information.
- Parameters
-
result | API call result |
profileList | HIVE 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.) |
◆ onSendMessageHive
Returns HIVE message transmission result.
- Parameters
-
◆ onShowHiveDialog
Returns showing HIVE Social dialog result.
- Parameters
-
◆ FriendType
Types of Friend list.
Enumerator |
---|
IN_GAME | If you are playing a game and they are friends on HIVE.
|
OUT_GAME | If you are not playing games, but they are friends on HIVE.
|
INVITED | Friends invited by HIVE Social.
|
ALL_GAME | All friends on HIVE.
|
◆ HiveDialogType
Types of HIVE Social WebView Dialog.
Enumerator |
---|
HOME | HIVE Social home.
|
GAME | HIVE Social game list.
|
USER | HIVE Social user profile.
|
INQUIRY | HIVE 1:1 Inquiry.
|
MESSAGE | HIVE Note. Only for HIVE user.
|
CHATBOT | HIVE Chatbot 1:1 Inquiry.
|
MYINQUIRY | HIVE My Inquiry.
|
◆ HiveRelationRoute
HIVE The path form of friendship.
Enumerator |
---|
DEFAULT | not set
|
HIVE | Through HIVE Social.
|
FACEBOOK | Through Facebook.
|
GAME | Through Game.
|
CONTACT | Through Contacts.
|
◆ getBadgeInfo()
Request HIVE Social Badge info.
- Parameters
-
◆ getFriends()
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
-
friendType | Types of Friend list |
listener | API call result listener |
◆ getMyProfile()
Request profile information of HIVE certified users.
- Parameters
-
listener | API call result listener |
◆ getProfiles()
static void SocialHive::getProfiles |
( |
std::vector< std::string > |
vidList, |
|
|
onProfileHive |
listener |
|
) |
| |
|
static |
HIVE 사용자 정보를 조회한다.
- Parameters
-
vidList | 조회하고자 하는 사용자의 VID 목록 |
listener | API 결과 통지 |
◆ sendInvitationMessage()
Send a invite message to HIVE user.
- Parameters
-
messageContent | Information to send HIVE invite message |
listener | API call result listener |
◆ sendMessage()
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
-
messageContent | Information to send HIVE message |
listener | API call result listener |
◆ setMyProfile()
static void SocialHive::setMyProfile |
( |
std::string |
displayName, |
|
|
onProfileHive |
listener |
|
) |
| |
|
static |
Set profile information of HIVE certified users.
- Parameters
-
displayName | Message of user's status |
listener | API call result listener |
◆ showHiveDialog() [1/2]
Show HIVE WebView dialog
(- HIVE Social's default first screen (feed){@inheritDoc HiveDialogType::HOME}
- Profile page{@inheritDoc HiveDialogType::USER}
- Games{@inheritDoc HiveDialogType::GAME}
- 1:1 Contact us {@inheritDoc HiveDialogType::INQUIRY})
- HIVE Note. {@inheritDoc HiveDialogType::MESSAGE}
- Chatbot 1:1 inquiry{@inheritDoc HiveDialogType::CHATBOT})
- Parameters
-
hiveDialogType | HiveDialogType Type of HIVE WebView Dialog |
vid | If you go directly to your friend's profile page, set your friend's vid |
listener | API call result listener |
◆ showHiveDialog() [2/2]
Show HIVE WebView dialog
(- HIVE Social's default first screen (feed){@inheritDoc HiveDialogType::HOME}
- Profile page{@inheritDoc HiveDialogType::USER}
- Games{@inheritDoc HiveDialogType::GAME}
- 1:1 Contact us {@inheritDoc HiveDialogType::INQUIRY})
- HIVE Note. {@inheritDoc HiveDialogType::MESSAGE}
- Parameters
-
hiveDialogType | HiveDialogType Type of HIVE WebView Dialog |
vid | If you go directly to your friend's profile page, set your friend's vid |
additionalInfo | Promised String data (JSON format) when you want to open chatbot page directly |
handler | API call result handler |