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:
- dismissAnimated
- getLocalizedDescription
- getLocalizedName
- getLocalizedValueForKeyForDeviceLocale
- getOrganizationName
- getPassTypeIdentifier
- getPassURL
- getSerialNumber
- getUserInfo
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