초기화
우편함의 모든 보유 아이템 및 기록을 삭제합니다.
호출 정보
public void Clear (string tableCode, PlayNANOODelegate callback) {}
호출 상세 정보
파라미터 | 설명 | 타입 |
---|---|---|
tableCode | 테이블 코드 | string |
callback | 통신 결과 | PlayNANOODelegate |
소스 코드
using PlayNANOO;
public class PlayNANOOExample : MonoBehaviour
{
Plugin plugin;
void Awake()
{
plugin = Plugin.GetInstance();
string tableCode = "TABLE_CODE";
plugin.InboxManager.Clear(tableCode, (status, error, jsonString, values) =>
{
if (status.Equals(Configure.PN_API_STATE_SUCCESS))
{
Debug.Log("Success");
}
else
{
Debug.Log("Fail");
}
});
}
}
통신 결과
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
{
"status": "success"
}
통신 결과 상세 정보
데이터키 | 설명 | 타입 |
---|---|---|
status | 처리 결과 | string |