showAchievements

업적 조회
Queries Acheivements



사용 조건

-# HIVE SDK 초기화 -# HIVE SignIn 완료

특이 사항

-# 로그인 되어있는 계정이 PGS/GameCenter에 연결되어있지 않은 경우 자동으로 해당 서비스로 연결을 시도

주요 결과 코드

ErrorCode Code Description Solution
SUCCESS Success 업적 조회 요청 성공
-
NEED_INITIALIZED AuthV4NotInitialized HIVE SDK가 초기화되지 않은 경우 AuthV4.setup() API로 HIVE SDK 초기화
IN_PROGRESS AuthV4InProgressShowLeaderboard LeaderBoard 노출이 이미 진행중 이미 수행 중인 경우 중복으로 API 호출이 불가능. 이전 기능을 종료한 후 호출
CANCEL AuthV4AppleLoginCancel 게임센터에 로그인되지 않은 상태로 API 호출시 로그인 UI에서 취소한 경우 showGameCenterLoginCancelDialog API를 이용하여 다시 로그인하는 방법을 가이드
CONFLICT_PLAYER AuthV4ConflictPlayer Device에 로그인 된 계정과 현재 로그인 된 계정의 PGS/GameCenter 정보가 다르거나
Connect를 시도한 Provider의 Player ID가 이미 있는 경우
계정 충돌 상황 해결 방법 안내에 따라 해결



Condition of use

-# Complete to initialize HIVE SDK -# Complete HIVE SignIn

Reference

-# It tries to execute the service automatically if the signed-in account is diconnected with PGS/GameCenter.

Key result code

ErrorCode Code Description Solution
SUCCESS Success Succeeded to request Acheivement
-
NEED_INITIALIZED AuthV4NotInitialized HIVE SDK not initialized Initialize HIVE SDK by implementing AuthV4.setup() API
IN_PROGRESS AuthV4InProgressShowLeaderboard LeaderBoard 노출이 이미 진행중 이미 수행 중인 경우 중복으로 API 호출이 불가능. 이전 기능을 종료한 후 호출
CANCEL AuthV4AppleLoginCancel 게임센터에 로그인되지 않은 상태로 API 호출시 로그인 UI에서 취소한 경우 showGameCenterLoginCancelDialog API를 이용하여 다시 로그인하는 방법을 가이드
CONFLICT_PLAYER AuthV4ConflictPlayer The account signed in on user device is mismatched with the PGS/Game Center account on the game
or the player ID of the Provider to be connected already existed
Follow the resolution in accordance with the type of account conflicts

Parameters

listener

AuthV4HelperListener AuthV4Helper Show achievements result callback