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 String hive.Configuration.getCompany ()
 Returns company.
 
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 Boolean hive.Configuration.getAgeGateU13 ()
 Hive SDK AgeGateU13 적용 여부 반환
 
static void hive.Configuration.setAgeGateU13 (Boolean ageGateU13)
 Hive SDK AgeGateU13 적용 여부 설정
 
static Boolean hive.Configuration.getAgeGateU16Agree ()
 Returns Hive SDK GDPR Whether you agree to the terms and conditions for under 16s in your country.
 
static Boolean hive.Configuration.getLegalGuardianConsentAgree ()
 Returns whether the legal representative agrees or not.
 
static void hive.Configuration.setHiveTheme (HiveThemeType theme)
 Hive 테마 설정
 
static HiveThemeType hive.Configuration.getHiveTheme ()
 Return Hive Theme.
 
static void hive.Configuration.setHiveOrientation (String orientation)
 Set Hive Orientation.
 
static void hive.Configuration.setHiveCommunityUrl (String url)
 Hive 커뮤니티 URL 설정
 
static void hive.Configuration.setUseHercules (bool enable)
 Hercules 사용 여부 설정
 
static Boolean hive.Configuration.getCrossPromotionBannerShowing ()
 Whether to use CrossPromotion.
 
static void hive.Configuration.setCrossPromotionBannerShowing (Boolean show)
 Whether to use CrossPromotion.
 

Detailed Description

This class manage HIVE SDK configuration

Enumeration Type Documentation

◆ HIVELanguage

HIVE Platform languages supported.

Author
seokjinyong

Function Documentation

◆ getAgeGateU13()

static Boolean hive.Configuration.getAgeGateU13 ( )
static

Hive SDK AgeGateU13 적용 여부 반환

Returns
Hive SDK AgeGateU13 적용 여부

◆ getAgeGateU16Agree()

static Boolean hive.Configuration.getAgeGateU16Agree ( )
static

Returns Hive SDK GDPR Whether you agree to the terms and conditions for under 16s in your country.

Returns
Returns Hive SDK GDPR Whether you agree to the terms and conditions for under 16s in your country

◆ 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)

◆ getCompany()

static String hive.Configuration.getCompany ( )
static

Returns company.

Returns
Company (C2S : Com2us, GVI : Com2us Holdings)

◆ getCrossPromotionBannerShowing()

static Boolean hive.Configuration.getCrossPromotionBannerShowing ( )
static

Whether to use CrossPromotion.

Returns
Whether to use CrossPromotion

◆ 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)

◆ getLegalGuardianConsentAgree()

static Boolean hive.Configuration.getLegalGuardianConsentAgree ( )
static

Returns whether the legal representative agrees or not.

Returns
Returns whether the legal representative agrees or not

◆ 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)

◆ setAgeGateU13()

static void hive.Configuration.setAgeGateU13 ( Boolean ageGateU13)
static

Hive SDK AgeGateU13 적용 여부 설정

Parameters
ageGateU13Hive SDK AgeGateU13 적용 여부 설정

◆ 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)

◆ setCrossPromotionBannerShowing()

static void hive.Configuration.setCrossPromotionBannerShowing ( Boolean show)
static

Whether to use CrossPromotion.

Parameters
showWhether to use CrossPromotion

◆ 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.

◆ setHiveCommunityUrl()

static void hive.Configuration.setHiveCommunityUrl ( String url)
static

Hive 커뮤니티 URL 설정

Parameters
url커뮤니티 URL

◆ setHiveTheme()

static void hive.Configuration.setHiveTheme ( HiveThemeType theme)
static

Hive 테마 설정

Parameters
HiveTheme

◆ 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

◆ setUseHercules()

static void hive.Configuration.setUseHercules ( bool enable)
static

Hercules 사용 여부 설정

Parameters
enableHercules 사용 여부

◆ 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