checkMaintenance

fun checkMaintenance(isShow: Boolean, listener: AuthV4.AuthV4MaintenanceListener?)

점검 상태 표시 및 데이터 반환한다.
It display maintenance status and return its data.


korean

Configuration 에 설정한 ServerId 로 점검상태 여부를 체크한다.

SDK 의 초기화가 완료되면 서버 점검 및 업데이트 상태를 확인해야 한다.
서버 점검 및 업데이트는 게임 클라이언트의 업데이트 후에 하위 버전을 차단하거나, 게임 서버의 점검 시간 동안 게임 접속을 차단할 수 있다.
HIVE는 백오피스에 설정된 정보에 따라 서버 점검 혹은 공지 팝업을 노출하는 기능을 제공한다.

요청시 isShow 가 true 였을 경우 점검 팝업 UI 가 노출된다.

결과가 Success 이지만 점검 공지 내용이 없다면 listener 의 maintenanceInfo 는 비어있게 된다.
요청시 isShow 를 false 로 주었다면 listener 의 maintenanceInfo 정보를 가지고 직접 UI 를 구성하여 노출하여야 한다.


english

It checks whether the server is in maintenance with the ServerId set in Configuration.

Once the SDK is initialized, you should check the status of the server maintenance and update.
Server maintenance and Update can block lower version after update of game client, or block game connection during maintenance time of game server.
HIVE provides a function to expose server maintenance or update pop-up according to the information set in the back office.

On request, a maintenance popup UI is exposed when isShow is true.

If the result is SUCCESS but there is no maintenance notification, the maintenanceInfo of the listener will be empty.
If isShow is set to false on request, the UI should be configured and exposed by game developer with the maintenanceInfo information of the listener.

Parameters

listener

onAuthV4Maintenance