c# - Monotouch access private API with return type -


i trying port following code mirror app's display external display via vga adapter.

https://github.com/robterrell/tvoutmanager/blob/master/tvoutmanager.m

this code optionally accesses uigetscreenimage(); returns cgimageref object. how can call private api monotouch? want use method internal build of app trade shows.

i have seen several solutions, none talks how call selector return type.

cgimageref's monotouch wrapper, cgimage, has static property screenimage. can screenshot property, haven't used though.

details on binding objective-c objects (including returning selector values) can found here: http://monotouch.net/index.php?title=documentation/binding_new_objective-c_types/binding_details&highlight=bind


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -