Skip to content

com.voltmx.AddPassesViewController

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

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

Here is an example for creating a AddPassesViewController with callbacks:

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

Input Parameters

  • 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.voltmx.AddPassesViewController