import { RDLeaderboardEntity } from "./RDLeaderboardEntity"; export interface RDPlatform { init(): void; sendData(type: number, content: any): void; receiveData(type: number, content: string): void; loadStorageData(keys:string[], completeCallback: (resource: any) => void, errorCallback: (error: Error) => void): void; flushStorageData(data:any, completeCallback: (error: Error) => void): void; submitScore(content:any, completeCallback: (error: Error) => void): void; invite(completeCallback: (error: Error) => void): void; challenge(completeCallback: (error: Error) => void): void; getLeaderboard(completeCallback: (resource: RDLeaderboardEntity[]) => void, errorCallback: (error: Error) => void): void; canShowAd():boolean; canShowVideo():boolean; isReviewed():boolean; //是否在申请参数中 }