Create AIDL with Callback returning multiple values

474 views
Skip to first unread message

xxayku...@googlemail.com

unread,
Jan 13, 2021, 5:11:33 PM1/13/21
to android-porting
I've successfully created an AIDL interface (in System Service - AOSP), with methods doing stuff. Now I want that a client using that system service can also receive data from the aidl interface.  I want to implement a callback interface which shall return multiple values.

Do you have any example for:

1) Returning a Pair
2) Returning an Object
3) Other?

Thx
Reply all
Reply to author
Forward
0 new messages