Init commit
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
package io.nekohasekai.sfa.aidl;
|
||||
|
||||
import io.nekohasekai.sfa.aidl.IServiceCallback;
|
||||
|
||||
interface IService {
|
||||
int getStatus();
|
||||
void registerCallback(in IServiceCallback callback);
|
||||
oneway void unregisterCallback(in IServiceCallback callback);
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package io.nekohasekai.sfa.aidl;
|
||||
|
||||
interface IServiceCallback {
|
||||
void onServiceStatusChanged(int status);
|
||||
void onServiceAlert(int type, String message);
|
||||
void onServiceWriteLog(String message);
|
||||
void onServiceResetLogs(in List<String> messages);
|
||||
}
|
||||
Reference in New Issue
Block a user