HIVE SDK for Unity3D

Classes | Enumerations | Functions
Configuration

This class manage HIVE SDK configuration

More...

Classes

class  hive.Configuration
 This class manage HIVE SDK configuration

More...
 

Enumerations

enum  hive.HIVELanguage
 HIVE Platform languages supported. More...
 

Functions

delegate void hive.Configuration.onConfigurationGetMetaData (ResultAPI result, String value)
 MetaData request result callback

 
static String hive.Configuration.getHiveSDKVersion ()
 Returns HIVE SDK Version.
 
static String hive.Configuration.getReferenceSDKVersion ()
 Return version of SDK referenced by HIVE SDK.
 
static String hive.Configuration.getAppId ()
 Returns AppId (By default, AppId will be set to the package name in the AndroidManifest.xml file.
 
static void hive.Configuration.setAppId (String appId)
 Set AppId (By default, AppId will be set to the package name in the AndroidManifest.xml file.
 
static ZoneType hive.Configuration.getZone ()
 Returns Hive platform server zone.
 
static void hive.Configuration.setZone (ZoneType zone)
 Set Hive Hive platform server zone.
 
static String hive.Configuration.getServerId ()
 Return serverId for server-specific maintenance popup support
(The world value registered in the back office world management)
 
static void 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.)
 
static void hive.Configuration.updateServerId (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.)
 
static String hive.Configuration.setGameLanguage (String gameLanguage)
 API to reflect language code used in game in module
Just type in two lowercase letters ("en").
 
static String hive.Configuration.updateGameLanguage (String gameLanguage)
 API to reflect language code used in game in module
Just type in two lowercase letters ("en").
 
static Boolean hive.Configuration.getUseLog ()
 Returns whether HIVE SDK internal log is used.
 
static void hive.Configuration.setUseLog (Boolean useLog)
 Set whether HIVE SDK internal log is used.
 
static String hive.Configuration.getPermissions ()
 권한 요청 관련 설정 정보 반환
 
static void hive.Configuration.setPermissions (JSONObject permissions)
 권한 요청 관련 설정 정보 설정
 
static void hive.Configuration.setCompany (String company)
 Set company.
 
static String hive.Configuration.getChannel ()
 Returns channel.
 
static void hive.Configuration.setChannel (String channel)
 Set channel.
 
static int hive.Configuration.getHttpConnectTimeout ()
 Returns the default value of HTTP Connect Timeout (in seconds)
 
static void hive.Configuration.setHttpConnectTimeout (int httpConnectTimeout)
 Set the value of HTTP Connect Timeout (in seconds)
 
static int hive.Configuration.getHttpReadTimeout ()
 Returns the default value of HTTP Read Timeout (in seconds)
 
static void hive.Configuration.setHttpReadTimeout (int httpReadTimeout)
 Set the value of HTTP Read Timeout (in seconds)
 
static int hive.Configuration.getMaxGameLogSize ()
 Returns maximum number of game logs.
 
static void hive.Configuration.setMaxGameLogSize (int maxGameLogSize)
 Set maximum number of game logs (Note: No change unless special occasion)
 
static String hive.Configuration.getMarket ()
 Return market.
 
static void hive.Configuration.setMarket (String market)
 Set market.
 
static String hive.Configuration.getHiveCountry ()
 HIVE 서버에서 판단한 국가코드를 반환한다.
 
static String hive.Configuration.getHiveTimeZone ()
 HIVE 서버에서 판단한 TimeZone 정보를 반환한다.
 
static uint hive.Configuration.getAnalyticsSendLimit ()
 전송 주기마다 전송할 로그의 최대치를 반환한다.
 
static void hive.Configuration.setAnalyticsSendLimit (uint limit)
 전송 주기마다 전송할 로그의 최대치 설정.
 
static uint hive.Configuration.getAnalyticsQueueLimit ()
 최대로 쌓을수 있는 로그의 양을 반환한다.
 
static void hive.Configuration.setAnalyticsQueueLimit (uint limit)
 최대로 쌓을 수 있는 로그의 수
 
static float hive.Configuration.getAnalyticsSendCycleSeconds ()
 로그 전송 주기.
 
static void hive.Configuration.setAnalyticsSendCycleSeconds (float seconds)
 로그 전송 주기 설정.
 
static HiveThemeType hive.Configuration.getHiveTheme ()
 Return Hive Theme.
 
static void hive.Configuration.setHiveOrientation (String orientation)
 Set Hive Orientation.
 

Detailed Description

This class manage HIVE SDK configuration

Enumeration Type Documentation

◆ HIVELanguage

HIVE Platform languages supported.

Author
seokjinyong

Function Documentation

◆ getAnalyticsQueueLimit()

static uint hive.Configuration.getAnalyticsQueueLimit ( )
static

최대로 쌓을수 있는 로그의 양을 반환한다.

Returns
uint 최대로 쌓을수 있는 로그의 양

◆ getAnalyticsSendCycleSeconds()

static float hive.Configuration.getAnalyticsSendCycleSeconds ( )
static

로그 전송 주기.

Returns
float 전송주기

◆ getAnalyticsSendLimit()

static uint hive.Configuration.getAnalyticsSendLimit ( )
static

전송 주기마다 전송할 로그의 최대치를 반환한다.

Returns
uint 전송 주기마다 전송할 로그의 최대치.

◆ getAppId()

static String 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 hive.Configuration.getChannel ( )
static

Returns channel.

Returns
channel (C2S : HIVE Platform)

◆ getHiveCountry()

static String hive.Configuration.getHiveCountry ( )
static

HIVE 서버에서 판단한 국가코드를 반환한다.

Returns
ISO

◆ getHiveSDKVersion()

static String hive.Configuration.getHiveSDKVersion ( )
static

Returns HIVE SDK Version.

Returns
HIVE SDK version

◆ getHiveTheme()

static HiveThemeType hive.Configuration.getHiveTheme ( )
static

Return Hive Theme.

Returns
Hive Theme Type (hiveLight, hiveDark)

◆ getHiveTimeZone()

static String hive.Configuration.getHiveTimeZone ( )
static

HIVE 서버에서 판단한 TimeZone 정보를 반환한다.

Returns
JSON String

◆ getHttpConnectTimeout()

static int 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 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 hive.Configuration.getMarket ( )
static

Return market.

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

◆ getMaxGameLogSize()

static int hive.Configuration.getMaxGameLogSize ( )
static

Returns maximum number of game logs.

Returns
Maximum number of game logs

◆ getPermissions()

static String hive.Configuration.getPermissions ( )
static

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

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

◆ getReferenceSDKVersion()

static String hive.Configuration.getReferenceSDKVersion ( )
static

Return version of SDK referenced by HIVE SDK.

Returns
Version of SDK referenced by HIVE SDK

◆ getServerId()

static String 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 hive.Configuration.getUseLog ( )
static

Returns whether HIVE SDK internal log is used.

Returns
Whether HIVE SDK internal log is used

◆ getZone()

static ZoneType hive.Configuration.getZone ( )
static

Returns Hive platform server zone.

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

◆ onConfigurationGetMetaData()

delegate void hive.Configuration.onConfigurationGetMetaData ( ResultAPI result,
String value )

MetaData request result callback

Parameters
resultResult of API call
valueThe metadata value that matches the key
See also
#getMetaData(String, onConfigurationGetMetaData)

◆ setAnalyticsQueueLimit()

static void hive.Configuration.setAnalyticsQueueLimit ( uint limit)
static

최대로 쌓을 수 있는 로그의 수

Parameters
limit최대 대기 가능한 로그의 수

◆ setAnalyticsSendCycleSeconds()

static void hive.Configuration.setAnalyticsSendCycleSeconds ( float seconds)
static

로그 전송 주기 설정.

Parameters
seconds전송 주기 (초)

◆ setAnalyticsSendLimit()

static void hive.Configuration.setAnalyticsSendLimit ( uint limit)
static

전송 주기마다 전송할 로그의 최대치 설정.

Parameters
limit전송주기마다 전송할 최대 로그의 양

◆ setAppId()

static void 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

◆ setChannel()

static void hive.Configuration.setChannel ( String channel)
static

Set channel.

Parameters
Channel(C2S : HIVE Platform)

◆ setCompany()

static void hive.Configuration.setCompany ( String company)
static

Set company.

Parameters
company(C2S : Com2us, GVI : Com2us Holdings)

◆ setGameLanguage()

static String 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 hive.Configuration.setHttpConnectTimeout ( int httpConnectTimeout)
static

Set the value of HTTP Connect Timeout (in seconds)

Parameters
httpConnectTimeoutValue of HTTP Connect Timeout (in seconds)

◆ setHttpReadTimeout()

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

Set the value of HTTP Read Timeout (in seconds)

Parameters
httpReadTimeoutValue of HTTP Read Timeout (in seconds)

◆ setMarket()

static void hive.Configuration.setMarket ( String market)
static

Set market.

Parameters
marketMarket (google, tstore, olleh, ozstore, googleplay_lebi)

◆ setMaxGameLogSize()

static void 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 hive.Configuration.setPermissions ( JSONObject permissions)
static

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

Parameters
permissions권한 요청 관련 설정 Set permissions.
permissionsPermissions.

◆ setServerId()

static void 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 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 hive.Configuration.setZone ( ZoneType zone)
static

Set Hive Hive platform server zone.

Parameters
zoneHive platform server zone (sandbox : for development, real : for production)

◆ updateGameLanguage()

static String hive.Configuration.updateGameLanguage ( 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.

◆ updateServerId()

static void hive.Configuration.updateServerId ( 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
Copyright © Com2uS Platform Corporation. All Right Reserved. Terms of Use Privacy Policy