public void AccessDeniedMessage(string errormessage) { var error = Error.ParseSerializedFromFromNativeSdk(errormessage); Debug.Log("Access Denied " + error.error_msg); vkapi.onAccessDenied(error); }
public void AccessDeniedMessage(string errormessage) { string[] error = errormessage.Split('#'); ErrorInfo ei = new ErrorInfo(); ei.errorcode = error [0]; ei.error_description = error [1]; vkapi.onAccessDenied(ei); }