Calling Objective-C WithResultBuffer

I'm trying to Invoke Objective-C Method
-(nabto_status_t)nabtoRpcInvoke:(NSString *)url withResultBuffer:(char **)jsonResponse;

here is the C# generated Method by Objective-sharpie
[Export("nabtoRpcInvoke:withResultBuffer:")]
unsafe nabto_status_t RpcInvoke(string url, ref sbyte jsonResponse);

I added the ref as its a pointer when i call the function it returns the byte but i actually want the Json from JsonResponse. Please guide me what i need to change to Get the Json Data.

Sign In or Register to comment.