FileDocCategorySizeDatePackage
Dispatchable.javaAPI DocAndroid 5.1 API1361Thu Mar 12 22:22:10 GMT 2015android.hardware.camera2.dispatch

Dispatchable

public interface Dispatchable
Dynamically dispatch a method and its argument to some object.

This can be used to intercept method calls and do work around them, redirect work, or block calls entirely.

Fields Summary
Constructors Summary
Methods Summary
public java.lang.Objectdispatch(java.lang.reflect.Method method, java.lang.Object[] args)
Dispatch the method and arguments to this object.

param
method a method defined in class {@code T}
param
args arguments corresponding to said {@code method}
return
the object returned when invoking {@code method}
throws
Throwable any exception that might have been raised while invoking the method