complted aidl for make friends by fzd protocol.
authorTrillGates <williamtrillgates@gmail.com>
Mon, 12 Apr 2021 06:50:35 +0000 (14:50 +0800)
committerTrillGates <williamtrillgates@gmail.com>
Mon, 12 Apr 2021 06:50:35 +0000 (14:50 +0800)
app/src/main/aidl/com/enqualcomm/support/IFZDCallback.aidl
app/src/main/aidl/com/enqualcomm/support/IFZDService.aidl
app/src/main/java/com/enqualcomm/support/CoreService.java

index ea2b3f0..f8bb2c1 100644 (file)
@@ -8,4 +8,7 @@ interface IFZDCallback {
     void onCallRequestResult(int result);
     void onBRIdEmpty();
     void onRemoteReject(in String remoteUserId,in int type);
+    void onFriendsMakeResult(in int result);
+    void onFriendsUnbindResult(in int result);
+    void onFriendsListLoaded();
 }
\ No newline at end of file
index 716653e..3b5c2d4 100644 (file)
@@ -13,4 +13,7 @@ interface IFZDService {
     void requireCall(in int type,in int remoteUserId);
     void test();
     void setUpEnvState(in int state);
+    void makeFriends();
+    void unbindFriends(String remoteFriendId);
+    void getFriendsList();
 }
\ No newline at end of file
index a243d17..7054029 100644 (file)
@@ -1768,6 +1768,21 @@ public class CoreService extends Service {
                 protocolAPIHelper.getProtocolfzd_handler().updateEnvState(state);
             }
         }
+
+        @Override
+        public void makeFriends() {
+
+        }
+
+        @Override
+        public void unbindFriends(String remoteFriendId) {
+            //解除朋友
+        }
+
+        @Override
+        public void getFriendsList() {
+
+        }
     };
 
 }