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