4.2 AIDL-ODL Method Equivalence

This example shows how to map an AIDL method to its conceptual ODL equivalent.

For example, a method specified in AIDL as follows:

 [id(3)] HRESULT func1 ( [in] int n, [in] BSTR ticker, 
 [lcid] DWORD lcid, 
 [out, retval] CURRENCY* cy);
  

... is equivalent to:

 [id(3)] CURRENCY func1 ( [in] int n, [in] BSTR ticker );