mirror of
https://github.com/RfidResearchGroup/ChameleonBLEAPI.git
synced 2026-05-12 11:20:47 -07:00
28 lines
602 B
Java
28 lines
602 B
Java
package com.proxgrind.chameleon.callback;
|
|||
|
|
|
||
|
|
public interface KeyFileCallbak {
|
||
|
|
|
||
|
|
interface KeyFileReadCallbak {
|
||
|
|
//密钥读取成功时的回调
|
||
|
|
void onReadSuccess(String msg);
|
||
|
|
|
||
|
|
//密钥读取失败时的回调
|
||
|
|
void onReadFail();
|
||
|
|
}
|
||
|
|
|
||
|
|
interface KeyFileWriteCallbak {
|
||
|
|
//密钥写入成功时的回调
|
||
|
|
void onWriteSuccess(String msg);
|
||
|
|
|
||
|
|
//密钥写入失败时的回调
|
||
|
|
void onWriteFail();
|
||
|
|
}
|
||
|
|
|
||
|
|
interface KeyFileCreateCallback {
|
||
|
|
void onCreateSuccess();
|
||
|
|
|
||
|
|
void onCreateFail();
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|