The documentation states that
all non-primitive parameters require a directional tag indicating which way the data goes; and
primitives are in by default, and cannot be otherwise.
Then they proceed with giving an example where a String
is missing the directional tag. Can a String
be out
or inout
in Android AIDL?
Since strings are immutable I'd have to do an assignment on the method handling the call in order to change the string, something like myString = "hello to you too";
. I know that in a regular method this argument myString
would remain unchanged at the caller side. Is that behavior applied here?