PKPass Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A pass, which is an abstraction of such things as tickets, boarding passes, or gift or loyalty cards.
[Foundation.Register("PKPass", true)]
public class PKPass : PassKit.PKObject, IDisposable
[<Foundation.Register("PKPass", true)>]
type PKPass = class
inherit PKObject
interface INSCoding
interface INativeObject
interface IDisposable
interface INSCopying
interface INSSecureCoding
- Inheritance
- Derived
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| PKPass() |
Creates a new PKPass with default values. |
| PKPass(NativeHandle) |
A constructor used when creating managed representations of unmanaged objects. Called by the runtime. |
| PKPass(NSCoder) |
A constructor that initializes the object from the data stored in the unarchiver object. |
| PKPass(NSData, NSError) |
Creates a new PKPass, possibly returning an error. |
| PKPass(NSObjectFlag) |
Constructor to call on derived classes to skip initialization and merely allocate the object. |
Properties
| Name | Description |
|---|---|
| AccessibilityAttributedUserInputLabels | (Inherited from NSObject) |
| AccessibilityRespondsToUserInteraction | (Inherited from NSObject) |
| AccessibilityTextualContext | (Inherited from NSObject) |
| AccessibilityUserInputLabels | (Inherited from NSObject) |
| AuthenticationToken |
Used to authenticate with the Web service. |
| Class | (Inherited from NSObject) |
| ClassHandle |
The Objective-C class handle for this class. |
| DebugDescription | (Inherited from NSObject) |
| Description | (Inherited from NSObject) |
| DeviceName |
The name of the device hosting the pass. |
| ExposedBindings | (Inherited from NSObject) |
| Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from NSObject) |
| Icon |
The icon for the pass. |
| IsDirectBinding | (Inherited from NSObject) |
| IsProxy | (Inherited from NSObject) |
| LocalizedDescription |
A localized description of the pass. |
| LocalizedName |
A localized description of the pass's kind. |
| OrganizationName |
The organization that created the pass. |
| PassType |
The PKPassType of the pass. |
| PassTypeIdentifier |
Identifies the PKPassType. |
| PassUrl |
The URL that will open the pass in the Passbook app. |
| PaymentPass |
If not |
| RelevantDate |
The date when the pass is most likely to be needed. |
| RelevantDates | |
| RemotePass |
Whether the pass is stored on a peer device (e.g., an Apple Watch). |
| RetainCount | (Inherited from NSObject) |
| SecureElementPass | |
| Self | (Inherited from NSObject) |
| SerialNumber |
A unique identifier for the pass. |
| Superclass | (Inherited from NSObject) |
| SuperHandle |
Handle used to represent the methods in the base class for this NSObject. (Inherited from NSObject) |
| UserInfo |
Developer-specified extra data. |
| WebServiceUrl |
The URL of the developer's Web service. |
| Zone | (Inherited from NSObject) |