com.kony.AddPassesViewController
The AddPassesViewController object provides a view to add passes to the user’s library of passes.
The com.kony.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.kony.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.kony.AddPassesViewController