HIVE SDK for Android

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

This class manage HIVE SDK configuration

More...

Classes

enum  HIVECustomUIType
 HIVE Platform custom UI. More...
 
enum  HIVELanguage
 HIVE Platform languages supported. More...
 
enum  HIVEPermissionType
 HIVE Platform permission type. More...
 
enum  ZoneType
 HIVE Platform server zone type. More...
 

Static Public Member Functions

static String getHiveSDKVersion ()
 Returns HIVE SDK Version. More...
 
static String getReferenceSDKVersion ()
 Return version of SDK referenced by HIVE SDK. More...
 
static Context getContext ()
 Get Android Application Context. More...
 
static void setContext (Context context)
 Set Android Application Context. More...
 
static String getAppId ()
 Returns AppId (By default, AppId will be set to the package name in the AndroidManifest.xml file. More...
 
static void setAppId (String appId)
 Set AppId (By default, AppId will be set to the package name in the AndroidManifest.xml file. More...
 
static ZoneType getZone ()
 Returns HIVE platform server zone. More...
 
static void setZone (ZoneType zone)
 Set HIVE platform server zone. More...
 
static String getServerId ()
 Return serverId for server-specific maintenance popup support
(The world value registered in the back office world management) More...
 
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.) More...
 
static String setGameLanguage (String gameLanguage)
 API to reflect language code used in game in module
Just type in two lowercase letters ("en"). More...
 
static Boolean getUseLog ()
 Returns whether HIVE SDK internal log is used. More...
 
static void setUseLog (Boolean useLog)
 Set whether HIVE SDK internal log is used. More...
 
static boolean getAgeGateU13 ()
 Hive SDK COPPA AgeGateU13 적용 여부 반환 More...
 
static void setAgeGateU13 (boolean ageGateU13)
 Hive SDK COPPA AgeGateU13 적용 여부 설정 More...
 
static Map< HIVEPermissionType, Object > getPermissions ()
 권한 요청 관련 설정 정보 반환 More...
 
static void setPermissions (Map< HIVEPermissionType, Object > permissions)
 Sets permissions. More...
 
static String getCompany ()
 Returns company. More...
 
static void setCompnay (String company)
 Sets company. More...
 
static int getCompanyIndex ()
 Returns company index. More...
 
static void setCompnayIndex (int index)
 Sets company. More...
 
static String getChannel ()
 Returns channel. More...
 
static String getMarket ()
 Returns market. More...
 
static String getHiveCountry ()
 Returns country code from HIVE server. More...
 
static int getHttpConnectTimeout ()
 Returns the default value of HTTP Connect Timeout (in seconds) More...
 
static void setHttpConnectTimeout (int httpConnectTimeout)
 Sets the value of HTTP Connect Timeout (in seconds) More...
 
static int getHttpReadTimeout ()
 Returns the default value of HTTP Read Timeout (in seconds) More...
 
static void setHttpReadTimeout (int httpReadTimeout)
 Sets the value of HTTP Read Timeout (in seconds) More...
 
static int getMaxGameLogSize ()
 Returns maximum number of game logs. More...
 
static void setMaxGameLogSize (int maxGameLogSize)
 Set maximum number of game logs (Note: No change unless special occasion) More...
 
static List< com.hive.Analytics.TrackergetTrackers ()
 Return 3rd-party Mobile App Tracker list for user analysis. More...
 
static void setTrackers (List< com.hive.Analytics.Tracker > trackers)
 Set 3rd-party Mobile App Tracker list for user analysis. More...
 
static Map< String, Object > getConfiguration ()
 Returns the contents of the Configuration file to Map <String, Object> or null. More...
 
static int getAnalyticsSendLimit ()
 전송 주기마다 전송할 로그의 최대치. More...
 
static void setAnalyticsSendLimit (int limit)
 전송 주기마다 전송할 로그의 최대치 설정. More...
 
static int getAnalyticsQueueLimit ()
 최대로 쌓을수 있는 로그의 양. More...
 
static void setAnalyticsQueueLimit (int limit)
 최대로 쌓을 수 있는 로그의 수 More...
 
static float getAnalyticsSendCycleSeconds ()
 로그 전송 주기. More...
 
static void setHivePermissionViewOn (boolean isOn)
 HIVE SDK 권한고지 팝업 노출 여부 설정 More...
 
static PermissionView.PermissionViewData getPermissionViewData (HIVELanguage language)
 권한고지 팝업을 구성하기 위한 데이터를 반환. More...
 
static void setAnalyticsSendCycleSeconds (float seconds)
 로그 전송 주기 설정. More...
 

Detailed Description

This class manage HIVE SDK configuration

Since
4.0.0
Author
ryuvsken

Member Function Documentation

§ getAgeGateU13()

static boolean com.hive.Configuration.getAgeGateU13 ( )
static

Hive SDK COPPA AgeGateU13 적용 여부 반환

Returns
Hive SDK COPPA AgeGateU13 적용 여부

§ getAnalyticsQueueLimit()

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

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

Returns
int AnalyticsQueueLimit

§ getAnalyticsSendCycleSeconds()

static float com.hive.Configuration.getAnalyticsSendCycleSeconds ( )
static

로그 전송 주기.

Returns
float 전송주기

§ getAnalyticsSendLimit()

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

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

Returns
int AnalyticsSendLimit

§ getCompany()

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

Returns company.

Returns
Company (C2S: Com2us, GVI: Gamevil)

§ getCompanyIndex()

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

Returns company index.

Returns
Company Index

§ getConfiguration()

static Map<String, Object> com.hive.Configuration.getConfiguration ( )
static

Returns the contents of the Configuration file to Map <String, Object> or null.

Returns
Returns the contents of Configuration file as Map <String, Object> or null

Returns null if unable to read configuration file

// test code for Configuration.getConfiguration
Map<String, Object> map = com.hive.Configuration.getConfiguration();
JSONObject json = (JSONObject)Android.mapToJSON(map);
Log.d("MapToJson", json.toString());
// end test

§ getContext()

static Context com.hive.Configuration.getContext ( )
static

Get Android Application Context.

Returns
Android Application Context

§ getPermissionViewData()

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

권한고지 팝업을 구성하기 위한 데이터를 반환.


Parameters
language타겟 언어
Returns
PermissionView.PermissionViewData형 데이터

§ getTrackers()

static List<com.hive.Analytics.Tracker> com.hive.Configuration.getTrackers ( )
static

Return 3rd-party Mobile App Tracker list for user analysis.

Returns
3rd-party Mobile App Tracker list

§ setAgeGateU13()

static void com.hive.Configuration.setAgeGateU13 ( boolean  ageGateU13)
static

Hive SDK COPPA AgeGateU13 적용 여부 설정

Parameters
ageGateU13Hive SDK COPPA AgeGateU13 적용 여부 설정

§ setAnalyticsQueueLimit()

static void com.hive.Configuration.setAnalyticsQueueLimit ( int  limit)
static

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

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

§ setAnalyticsSendCycleSeconds()

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

로그 전송 주기 설정.

Parameters
seconds전송 주기 (초)

§ setAnalyticsSendLimit()

static void com.hive.Configuration.setAnalyticsSendLimit ( int  limit)
static

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

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

§ setContext()

static void com.hive.Configuration.setContext ( Context  context)
static

Set Android Application Context.

Parameters
contextAndroid Application Context

§ setHivePermissionViewOn()

static void com.hive.Configuration.setHivePermissionViewOn ( boolean  isOn)
static

HIVE SDK 권한고지 팝업 노출 여부 설정

Parameters
isOn노출 설정 여부

§ setTrackers()

static void com.hive.Configuration.setTrackers ( List< com.hive.Analytics.Tracker trackers)
static

Set 3rd-party Mobile App Tracker list for user analysis.

Parameters
trackers3rd-party Mobile App Tracker list

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