I have such aidl file:
package com.my.service;
import com.my.common.rpc.OnNextListener;
interface IService {
oneway void acceptStateListener(in OnNextListener l);
}
And I got an error in my Android Studio:
AIDLTokenType.IDENTIFIER expected, got 'rpc'
What's wrong here? Where I can find definitive tutorial about AIDL syntax?