플랫폼에서 제공하는 API 기능은 다음과 같습니다.

콘텐츠 컨트롤러 등록

  • 콘텐츠를 조절할 수 있는 컨트롤러 객체 등록
    • Platform.api.registerController(): Promise

사용자 정보 조회

  • 현재 콘텐츠를 이용 중인 사용자 정보 조회
    • Platform.api.getUserInfo(): Promise

실행 데이터 정보

  • 콘텐츠 실행 데이터 저장
    • Platform.api.savePlayData(): Promise
  • 콘텐츠 실행 데이터 목록 조회
    • Platform.api.loadMyPlayData(): Promise

단계별 학습기록 정보

  • 단계별 학습기록 저장
    • Platform.api.saveStepRecord(): Promise
  • 단계별 학습기록 조회
    • Platform.api.loadStepRecords(): Promise
  • 콘텐츠 학습 성취도 / 진행률 조회
    • Platform.api.getLearningOutcome(): Promise
  • 콘텐츠 랭킹 조회
    • Platform.api.getRankings(): Promise

2023. 11. 15 오전 11:47:04 편집