当前位置:网站首页>Aidl and service

Aidl and service

2022-07-07 05:25:00 Novice Xiaowang

aidl Corresponding service Usually inherited aidl Of stub class

for example :

public class ActivityManagerService extends IActivityManager.Stub
        implements Watchdog.Monitor, BatteryStatsImpl.BatteryCallback {
   

interface IActivityManager {

IActivityManager.java Class is created by AIDL Tools are generated automatically at compile time .

原网站

版权声明
本文为[Novice Xiaowang]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/188/202207062323487158.html