public void ReceiveResponse(NSDictionary userInfo) { NSString[] keys = new NSString[userInfo.Keys.Length]; int i; for (i = 0; i < userInfo.Keys.Length; i++) { if (userInfo.Keys[i] is NSString) { keys[i] = userInfo.Keys[i] as NSString; } else { i = int.MaxValue; } } if (i != int.MaxValue) { NSDictionary <NSString, NSObject> notif = new NSDictionary <NSString, NSObject>(keys, userInfo.Values); NITManager.DefaultManager.ProcessRecipeWithUserInfo(notif, (content, recipe, error) => { if (content != null && content is NITReactionBundle) { Console.WriteLine("Near notification tap: " + content.NotificationMessage); ad.HandleNearContent(content); } }); } }
public override void EventWithContent(NITManager manager, NSObject content, NITTrackingInfo trackingInfo) { ad.HandleNearContent(content); }