public static PrintDocumentAdapter.WriteResultCallback GetWriteResultCallback(IInvocationHandler invocationHandler) { return((PrintDocumentAdapter.WriteResultCallback)ProxyBuilder.ForClass(Class.FromType(typeof(PrintDocumentAdapter.WriteResultCallback))) .Handler(invocationHandler) .Build()); }
public static PrintDocumentAdapter.LayoutResultCallback GetLayoutResultCallback(IInvocationHandler invocationHandler) { return((PrintDocumentAdapter.LayoutResultCallback)ProxyBuilder.ForClass(Java.Lang.Class.FromType(typeof(Android.Print.PrintDocumentAdapter.LayoutResultCallback))) .Handler(invocationHandler) .Build()); }