@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface ServiceConnectionCallback
The method should have the signature (String, boolean), a string for the serviceIntent and a boolean as second parameter for service connected state
Methods with other signatures are ignored.
ex:
@ServiceConnectionCallback
public void onServiceConnectionChanged(String serviceIntent, boolean connected) {
}
ServiceConnector