Go back to Xamarin Getting Started Guide

Pyze Xamarin App SDK - Events

See a detailed Events Overview at api & events.

Curated Event Handling

Pyze has made it easy for you to capture events. We support many built-in events (see api).

For example, to send a custom "PostAdRequested" use:

using pyze.xamarin.iOS; //Import the PyzeXamarin package
var keys = new object [] { "key1", "key2" };
var values = new object [] { "value1", "value2" }:
var customAttributes = NSDictionary.FromObjectsAndKeys (values, keys);
PyzeAd.PostAdRequested("Google", "home", "(320, 160)","banner",customAttributes);

Custom Event Handling

We also support custom events in addition to built in events. See custom events class api for Xamarin.

For example, to send a custom "Blog read" event without attributes, use:

PyzeCustomEvents.PostWithEventName("Blog Read");

For example, to send a custom "Blog read" event with attributes, use:

var keys = new object [] { "screen", "seconds spent" };
var values = new object [] { "Home", "50" }:

PyzeCustomEvents.PostWithEventName("Blog Read", attributes);

Go back to Xamarin Developer Center to follow the next steps.

About Pyze

Pyze Growth Intelligence® is a transformative SaaS platform that enables mobile and web app businesses to automate engagement, retention and growth of their users. Signup at Pyze, install and initialize the Pyze SDK and watch your app grow.