PyzeUnity.IPyzeInAppMessages Interface Reference

Pyze in app messages class for showing In App Messages inside the Game. More...

Public Member Functions

void ShowInAppMessagesWithDefaultUI (EventHandler< PyzeInappClickData > callback)
 Show in-app unread messages with default settings. For all the controls presented including Message Navigation Bar, buttons will loaded with default presentation colors used by the SDK. When user taps on any of the buttons in in-app message completionhandler method will be called. More...
 
void ShowInAppWithCustomOptions (PyzeInAppMessageType messageType, UnityEngine.Color navigationBarColor, EventHandler< PyzeInappClickData > callback)
 Convenience method to show in-app message with custom navigation bar as required by the app. When user taps on any of the buttons in in-app message completionhandler method will be called. More...
 
void CloseInAppMessage ()
 Closes the in app message. More...
 
void CountNewUnFetchedMessages (EventHandler< EventArgsWithString > callback)
 Get Dictionary of message headers containing message ID and content ID. More...
 
void GetMessageHeaderOfType (PyzeInAppMessageType messageType, EventHandler< EventArgsWithDictionaryArray > callback)
 Gets the Message header for the specified type. More...
 
void GetMessageWithContentID (string contentId, string messageId, EventHandler< EventArgsWithInAppObject > callback)
 Get message details with Campaign ID and message ID received from ‘getMessageHeadersForType’. More...
 

Detailed Description

Pyze in app messages class for showing In App Messages inside the Game.

Member Function Documentation

void PyzeUnity.IPyzeInAppMessages.CloseInAppMessage ( )

Closes the in app message.

void PyzeUnity.IPyzeInAppMessages.CountNewUnFetchedMessages ( EventHandler< EventArgsWithString >  callback)

Get Dictionary of message headers containing message ID and content ID.

Parameters
callbackCallback.
void PyzeUnity.IPyzeInAppMessages.GetMessageHeaderOfType ( PyzeInAppMessageType  messageType,
EventHandler< EventArgsWithDictionaryArray >  callback 
)

Gets the Message header for the specified type.

Parameters
messageTypeMessage type.
callbackCallback with Dictionary of Meta data details.
void PyzeUnity.IPyzeInAppMessages.GetMessageWithContentID ( string  contentId,
string  messageId,
EventHandler< EventArgsWithInAppObject >  callback 
)

Get message details with Campaign ID and message ID received from ‘getMessageHeadersForType’.

Parameters
contentIdContent identifier.
messageIdMessage identifier.
callbackCallback with InAppObject details.
void PyzeUnity.IPyzeInAppMessages.ShowInAppMessagesWithDefaultUI ( EventHandler< PyzeInappClickData >  callback)

Show in-app unread messages with default settings. For all the controls presented including Message Navigation Bar, buttons will loaded with default presentation colors used by the SDK. When user taps on any of the buttons in in-app message completionhandler method will be called.

Parameters
callbackCallback for In App Button click with button click details.
void PyzeUnity.IPyzeInAppMessages.ShowInAppWithCustomOptions ( PyzeInAppMessageType  messageType,
UnityEngine.Color  navigationBarColor,
EventHandler< PyzeInappClickData >  callback 
)

Convenience method to show in-app message with custom navigation bar as required by the app. When user taps on any of the buttons in in-app message completionhandler method will be called.

Parameters
messageTypeMessage type.
navigationBarColorNavigation bar color.
callbackCallback.

The documentation for this interface was generated from the following file:
  • src/PyzeExterns.cs