HIVE SDK for Android

Classes | Static Public Member Functions | List of all members
com.hive.AuthV4 Class Reference

Provides HIVE SDK initialization and HIVE authentication functions
The HIVE SDK performs initialization based on the xml configuration file. More...

Classes

enum  AuthV4MaintenanceActionType
 Actions to be taken when a button is pressed on the maintenance popup. More...
 
class  AuthV4MaintenanceInfo
 Server Maintenance and Update status display information title : Title
message : Contents
button : Text on the button ex) OK
action : Actions to be taken when the button is pressed
url : URL to be browsed when action is OPEN_URL
remainingTime : When action is EXIT, the time in seconds remaining until the maintenance completes. More...
 
class  PlayerInfo
 Sign-in User Information it includes user's tocken and DID value along with ProfileInfo. More...
 
class  ProfileInfo
 User Profile Information playerID : User's unique ID
playerName : The nickname of the user to be shown outside. More...
 
class  ProviderInfo
 Identity Provider (IdP) Information It contains the UserId of the associated Identity Provider. More...
 
enum  ProviderType
 Provider Types AUTO is for Automatic Login
If the result of isAutoSignIn() call is true, You need to set parameter as AUTO when you call SignIn. More...
 

Static Public Member Functions

static void setup (AuthV4SetupListener listener)
 AuthV4 Perform initialization. More...
 
static void signIn (ProviderType providerType, AuthV4SignInListener listener)
 Requests signIn according to the given providerType. More...
 
static void signOut (AuthV4SignOutListener listener)
 it remove the local session. More...
 
static void connect (ProviderType providerType, AuthV4ConnectListener listener)
 It connects to the currently requested provider for the currently signed-in user. More...
 
static void disconnect (ProviderType providerType, AuthV4DisconnectListener listener)
 Releases the currently signed-in user from the requested provider. More...
 
static void selectConflict (long selectedPlayerId, AuthV4SignInListener listener)
 When an account conflict (CONFLICT_PLAYER) occurs due to connect, it notify the selected user to the SDK. More...
 
static void resolveConflict (AuthV4ResolveConflictListener listener)
 It resolve the account conflicts(CONFLICT_PLAYER) caused by connect () call. More...
 
static boolean isAutoSignIn ()
 It returns whether signIn (AUTO) is enabled. More...
 
static boolean getAgeGateU13 ()
 
static PlayerInfo getPlayerInfo ()
 It returns information about the currently signed-in user. More...
 
static void getProfile (ArrayList< Long > playerIdList, AuthV4GetProfileListener listener)
 it returns the profile information of the requested playerIds. More...
 
static void showSignIn (AuthV4SignInListener listener)
 It shows the UI with a list of providers that can sign-in. More...
 
static void showConflictSelection (Map< String, Object > currentPlayerData, Map< String, Object > conflictPlayerData, AuthV4SignInListener listener)
 It shows UI to select user in conflict state. More...
 
static void showProfile (long playerId, AuthV4ShowProfileListener listener)
 It display the profile UI of the requested playerId. More...
 
static void showCafe (AuthV4ShowCafeListener listener)
 It shows the HIVE Cafe UI. More...
 
static void showInquiry (AuthV4ShowInquiryListener listener)
 It shows the 1: 1 query UI. More...
 
static void showTerms (AuthV4ShowTermsListener listener)
 It shows HIVE Terms and Conditions. More...
 
static void showAdultConfirm (AuthV4AdultConfirmListener listener)
 It request adult authentication. More...
 
static void checkProvider (ProviderType providerType, AuthV4CheckProviderListener listener)
 It check the status of the requested Provider. More...
 
static void checkMaintenance (boolean isShow, AuthV4MaintenanceListener listener)
 It display maintenance status and return its data. More...
 
static void checkBlacklist (boolean isShow, AuthV4MaintenanceListener listener)
 it check the restriction status of the current user. More...
 
static void setProviderChangedListener (AuthV4CheckProviderListener listener)
 It set a listener to be notified whether the information of the linked Provider has changed. More...
 
static void reset ()
 It initialize all data used by the SDK, including authentication information. More...
 
static void getProviderFriendsList (ProviderType providerType, AuthV4ProviderFriendsListener listener)
 It returns the playerId list information of the friends of the connected user corresponding to the input providerType. More...
 

Detailed Description

Provides HIVE SDK initialization and HIVE authentication functions
The HIVE SDK performs initialization based on the xml configuration file.



The detailed functions provided by this class are as follows.

Created by hife on 2017. 3. 22

Author
hife
Since
4.3.0

The documentation for this class was generated from the following file:
Copyright © GAMEVIL COM2US PLATFORM Inc. All Right Reserved. Terms of Use Privacy Policy