HIVE SDK for Unity3D

Public Member Functions | Static Public Member Functions | List of all members
hive.Configuration Class Reference

This class manage HIVE SDK configuration

More...

Public Member Functions

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

 

Static Public Member Functions

static String getHiveSDKVersion ()
 Returns HIVE SDK Version.
 
static String getReferenceSDKVersion ()
 Return version of SDK referenced by HIVE SDK.
 
static String getAppId ()
 Returns AppId (By default, AppId will be set to the package name in the AndroidManifest.xml file.
 
static void setAppId (String appId)
 Set AppId (By default, AppId will be set to the package name in the AndroidManifest.xml file.
 
static ZoneType getZone ()
 Returns Hive platform server zone.
 
static void setZone (ZoneType zone)
 Set Hive Hive platform server zone.
 
static String getServerId ()
 Return serverId for server-specific maintenance popup support
(The world value registered in the back office world management)
 
static void 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 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 setGameLanguage (String gameLanguage)
 API to reflect language code used in game in module
Just type in two lowercase letters ("en").
 
static String updateGameLanguage (String gameLanguage)
 API to reflect language code used in game in module
Just type in two lowercase letters ("en").
 
static Boolean getUseLog ()
 Returns whether HIVE SDK internal log is used.
 
static void setUseLog (Boolean useLog)
 Set whether HIVE SDK internal log is used.
 
static String getPermissions ()
 권한 요청 관련 설정 정보 반환
 
static void setPermissions (JSONObject permissions)
 권한 요청 관련 설정 정보 설정
 
static String getCompany ()
 Returns company.
 
static void setCompany (String company)
 Set company.
 
static String getChannel ()
 Returns channel.
 
static void setChannel (String channel)
 Set channel.
 
static int getHttpConnectTimeout ()
 Returns the default value of HTTP Connect Timeout (in seconds)
 
static void setHttpConnectTimeout (int httpConnectTimeout)
 Set the value of HTTP Connect Timeout (in seconds)
 
static int getHttpReadTimeout ()
 Returns the default value of HTTP Read Timeout (in seconds)
 
static void setHttpReadTimeout (int httpReadTimeout)
 Set the value of HTTP Read Timeout (in seconds)
 
static int getMaxGameLogSize ()
 Returns maximum number of game logs.
 
static void setMaxGameLogSize (int maxGameLogSize)
 Set maximum number of game logs (Note: No change unless special occasion)
 
static String getMarket ()
 Return market.
 
static void setMarket (String market)
 Set market.
 
static String getHiveCountry ()
 HIVE 서버에서 판단한 국가코드를 반환한다.
 
static String getHiveTimeZone ()
 HIVE 서버에서 판단한 TimeZone 정보를 반환한다.
 
static uint getAnalyticsSendLimit ()
 전송 주기마다 전송할 로그의 최대치를 반환한다.
 
static void setAnalyticsSendLimit (uint limit)
 전송 주기마다 전송할 로그의 최대치 설정.
 
static uint getAnalyticsQueueLimit ()
 최대로 쌓을수 있는 로그의 양을 반환한다.
 
static void setAnalyticsQueueLimit (uint limit)
 최대로 쌓을 수 있는 로그의 수
 
static float getAnalyticsSendCycleSeconds ()
 로그 전송 주기.
 
static void setAnalyticsSendCycleSeconds (float seconds)
 로그 전송 주기 설정.
 
static Boolean getAgeGateU13 ()
 Hive SDK AgeGateU13 적용 여부 반환
 
static void setAgeGateU13 (Boolean ageGateU13)
 Hive SDK AgeGateU13 적용 여부 설정
 
static Boolean getAgeGateU16Agree ()
 Returns Hive SDK GDPR Whether you agree to the terms and conditions for under 16s in your country.
 
static void setHivePermissionViewOn (Boolean isOn)
 Hive SDK GDPR 국가에서 16세 미만 약관 동의 여부 설정 (not support)
 
static PermissionViewData getPermissionViewData (HIVELanguage language)
 커스텀 권한고지를 위한 데이터 구성
 
static void setHiveTheme (HiveThemeType theme)
 Hive 테마 설정
 
static HiveThemeType getHiveTheme ()
 Return Hive Theme.
 
static void setHiveOrientation (String orientation)
 Set Hive Orientation.
 
static void getMetaData (string key, bool forceReload, onConfigurationGetMetaData listener)
 Game MetaData 요청
 
static void setHiveCommunityUrl (String url)
 Hive 커뮤니티 URL 설정
 
static void setUseHercules (bool enable)
 Hercules 사용 여부 설정
 
static Boolean getCrossPromotionBannerShowing ()
 Whether to use CrossPromotion.
 
static void setCrossPromotionBannerShowing (Boolean show)
 Whether to use CrossPromotion.
 

Detailed Description

This class manage HIVE SDK configuration

Since
4.0.0
Author
ryuvsken

Member Function Documentation

◆ getMetaData()

static void hive.Configuration.getMetaData ( string key,
bool forceReload,
onConfigurationGetMetaData listener )
static

Game MetaData 요청

Parameters
key요청 data 키
forceReloadnetwork 통신 여부
API결과 통지

◆ getPermissionViewData()

static PermissionViewData hive.Configuration.getPermissionViewData ( HIVELanguage language)
static

커스텀 권한고지를 위한 데이터 구성

Parameters
타겟언어
Returns
각 언어별 리소스에 맞는 PermissionViewData

◆ setHivePermissionViewOn()

static void hive.Configuration.setHivePermissionViewOn ( Boolean isOn)
static

Hive SDK GDPR 국가에서 16세 미만 약관 동의 여부 설정 (not support)

Parameters
HiveSDK GDPR 국가에서 16세 미만 약관 동의 여부 설정 Hive SDK 권한고지 팝업 노출 여부 설정
isOnHive SDK 권한고지 팝업 노출 여부 설정

The documentation for this class was generated from the following file:
Copyright © Com2uS Platform Corporation. All Right Reserved. Terms of Use Privacy Policy