Hello,
I found in Android source code an interesting but undocumented keyword
for aidl: "oneway" (before void in a function).
As it sounds, the generated code uses the corresponding flag
http://developer.android.com/reference/android/os/IBinder.html#FLAG_ONEWAY
when performing the remote transaction.
To my understanding it can be used to fire remote listeners without
having to wait for each listener to return.
Since it's not documented, I wonder whether it should be considered as
a "private API stuff that can break in a future SDK release" or not.
Anyway, I can't alter the generated code so I'm planning to use it in
the aidl file, I hope this is just a documentation lack :)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---