AddPassesViewController Object

The AddPassesViewController object provides a view to add passes to the user’s library of passes.

Here is an example for creating a AddPassesViewController with callbacks:

var AddPassesViewController1 = new com.kony.AddPassesViewController(an, statusCallback);

Input Parameters

Parameter Description
an [Array] - Optional

NOTE: Respects only first pass in the array if the iOS is below 7.0.

statusCallback [Function] - Optional

callback to get the status of adding passes view controller.

  • status [String] - status of the AddPassesViewController.

Return Values

Object - com.kony.AddPassesViewController

Methods

The com.kony.AddPassesViewController class has the following methods: