HIVE SDK for Android

Classes | Functions
Configuration

This class manage HIVE SDK configuration

More...

Classes

enum  com.hive.Configuration.HIVELanguage
 HIVE Platform languages supported. More...
 
class  com.hive.Configuration
 This class manage HIVE SDK configuration

More...
 

Functions

static String com.hive.Configuration.getHiveSDKVersion ()
 Returns HIVE SDK Version. More...
 
static String com.hive.Configuration.getReferenceSDKVersion ()
 Return version of SDK referenced by HIVE SDK. More...
 
static String com.hive.Configuration.getAppId ()
 Returns AppId (By default, AppId will be set to the package name in the AndroidManifest.xml file. More...
 
static void com.hive.Configuration.setAppId (String appId)
 Set AppId (By default, AppId will be set to the package name in the AndroidManifest.xml file. More...
 
static ZoneType com.hive.Configuration.getZone ()
 Returns HIVE platform server zone. More...
 
static void com.hive.Configuration.setZone (ZoneType zone)
 Set HIVE platform server zone. More...
 
static String com.hive.Configuration.getServerId ()
 Return serverId for server-specific maintenance popup support
(The world value registered in the back office world management) More...
 
static void com.hive.Configuration.setServerId (String serverId)
 Set serverId for server-specific maintenance popup support
(The world value registered in the back office world management should be inputted according to the server.) More...
 
static String com.hive.Configuration.setGameLanguage (String gameLanguage)
 API to reflect language code used in game in module
Just type in two lowercase letters ("en"). More...
 
static Boolean com.hive.Configuration.getUseLog ()
 Returns whether HIVE SDK internal log is used. More...
 
static void com.hive.Configuration.setUseLog (Boolean useLog)
 Set whether HIVE SDK internal log is used. More...
 
static Map< HIVEPermissionType, Object > com.hive.Configuration.getPermissions ()
 권한 요청 관련 설정 정보 반환 More...
 
static void com.hive.Configuration.setPermissions (Map< HIVEPermissionType, Object > permissions)
 Sets permissions. More...
 
static void com.hive.Configuration.setCompnay (String company)
 Sets company. More...
 
static void com.hive.Configuration.setCompnayIndex (int index)
 Sets company. More...
 
static String com.hive.Configuration.getChannel ()
 Returns channel. More...
 
static String com.hive.Configuration.getMarket ()
 Returns market. More...
 
static String com.hive.Configuration.getHiveCountry ()
 Returns country code from HIVE server. More...
 
static int com.hive.Configuration.getHttpConnectTimeout ()
 Returns the default value of HTTP Connect Timeout (in seconds) More...
 
static void com.hive.Configuration.setHttpConnectTimeout (int httpConnectTimeout)
 Sets the value of HTTP Connect Timeout (in seconds) More...
 
static int com.hive.Configuration.getHttpReadTimeout ()
 Returns the default value of HTTP Read Timeout (in seconds) More...
 
static void com.hive.Configuration.setHttpReadTimeout (int httpReadTimeout)
 Sets the value of HTTP Read Timeout (in seconds) More...
 
static int com.hive.Configuration.getMaxGameLogSize ()
 Returns maximum number of game logs. More...
 
static void com.hive.Configuration.setMaxGameLogSize (int maxGameLogSize)
 Set maximum number of game logs (Note: No change unless special occasion) More...
 

Detailed Description

This class manage HIVE SDK configuration

This class manage HIVE SDK configuration

Since
4.0.0
4.0.0
Author
ryuvsken

Function Documentation

§ getAppId()

static String com.hive.Configuration.getAppId ( )
static

Returns AppId (By default, AppId will be set to the package name in the AndroidManifest.xml file.

However, it supports changes to API calls for reasons such as test setup.)

Returns
AppId

§ getChannel()

static String com.hive.Configuration.getChannel ( )
static

Returns channel.

Returns
Channel (HIVE: HIVE Platform)

§ getHiveCountry()

static String com.hive.Configuration.getHiveCountry ( )
static

Returns country code from HIVE server.

Returns
ISO

§ getHiveSDKVersion()

static String com.hive.Configuration.getHiveSDKVersion ( )
static

Returns HIVE SDK Version.

Returns
HIVE SDK version

§ getHttpConnectTimeout()

static int com.hive.Configuration.getHttpConnectTimeout ( )
static

Returns the default value of HTTP Connect Timeout (in seconds)

Returns
Default value of HTTP Connect Timeout (in seconds)

§ getHttpReadTimeout()

static int com.hive.Configuration.getHttpReadTimeout ( )
static

Returns the default value of HTTP Read Timeout (in seconds)

Returns
Default value of HTTP Read Timeout (in seconds)

§ getMarket()

static String com.hive.Configuration.getMarket ( )
static

Returns market.

Returns
Market (google, tstore, olleh, ozstore, googleplay_lebi)

§ getMaxGameLogSize()

static int com.hive.Configuration.getMaxGameLogSize ( )
static

Returns maximum number of game logs.

Returns
Maximum number of game logs

§ getPermissions()

static Map<HIVEPermissionType, Object> com.hive.Configuration.getPermissions ( )
static

권한 요청 관련 설정 정보 반환

Returns
권한 요청 관련 설정 정보 Return permission information.
Permission string

§ getReferenceSDKVersion()

static String com.hive.Configuration.getReferenceSDKVersion ( )
static

Return version of SDK referenced by HIVE SDK.

Returns
Version of SDK referenced by HIVE SDK

§ getServerId()

static String com.hive.Configuration.getServerId ( )
static

Return serverId for server-specific maintenance popup support
(The world value registered in the back office world management)

Returns
serverId Server ID for server-specific maintenance popup support

§ getUseLog()

static Boolean com.hive.Configuration.getUseLog ( )
static

Returns whether HIVE SDK internal log is used.

Returns
Whether HIVE SDK internal log is used

§ getZone()

static ZoneType com.hive.Configuration.getZone ( )
static

Returns HIVE platform server zone.

Returns
HIVE platform server zone (sandbox: for development, real: for production)

§ setAppId()

static void com.hive.Configuration.setAppId ( String  appId)
static

Set AppId (By default, AppId will be set to the package name in the AndroidManifest.xml file.

However, it supports changes to API calls for reasons such as test setup.)

Parameters
appIdAppId

§ setCompnay()

static void com.hive.Configuration.setCompnay ( String  company)
static

Sets company.

Parameters
company(C2S: Com2us, GVI: Gamevil)

§ setCompnayIndex()

static void com.hive.Configuration.setCompnayIndex ( int  index)
static

Sets company.

Parameters
index

§ setGameLanguage()

static String com.hive.Configuration.setGameLanguage ( String  gameLanguage)
static

API to reflect language code used in game in module
Just type in two lowercase letters ("en").

ISO 639-1 format.

Internally, uppercase characters are converted to lowercase characters. Alphabetic case rules follow US rules.

Parameters
gameLanguageLanguage code used in game.

§ setHttpConnectTimeout()

static void com.hive.Configuration.setHttpConnectTimeout ( int  httpConnectTimeout)
static

Sets the value of HTTP Connect Timeout (in seconds)

Parameters
httpConnectTimeoutValue of HTTP Connect Timeout (in seconds)

§ setHttpReadTimeout()

static void com.hive.Configuration.setHttpReadTimeout ( int  httpReadTimeout)
static

Sets the value of HTTP Read Timeout (in seconds)

Parameters
httpReadTimeoutValue of HTTP Read Timeout (in seconds)

§ setMaxGameLogSize()

static void com.hive.Configuration.setMaxGameLogSize ( int  maxGameLogSize)
static

Set maximum number of game logs (Note: No change unless special occasion)

Parameters
maxGameLogSizeMaximum number of game logs

§ setPermissions()

static void com.hive.Configuration.setPermissions ( Map< HIVEPermissionType, Object >  permissions)
static

Sets permissions.

Parameters
permissionsPermissions.

§ setServerId()

static void com.hive.Configuration.setServerId ( String  serverId)
static

Set serverId for server-specific maintenance popup support
(The world value registered in the back office world management should be inputted according to the server.)

Parameters
serverIdserverId for server-specific maintenance popup support

§ setUseLog()

static void com.hive.Configuration.setUseLog ( Boolean  useLog)
static

Set whether HIVE SDK internal log is used.

Parameters
useLogWhether HIVE SDK internal log is used

§ setZone()

static void com.hive.Configuration.setZone ( ZoneType  zone)
static

Set HIVE platform server zone.

Parameters
zoneHIVE platform server zone (sandbox : for development, real : for production)
Copyright © GAMEVIL COM2US PLATFORM Inc. All Right Reserved. Terms of Use Privacy Policy