Share via


PKPassLibrary.GetPasses Method

Definition

Overloads

Name Description
GetPasses(String)
GetPasses()

The passes in the user's pass library.

GetPasses(PKPassType)

The passes in the user's pass library whose PassType matches passType.

GetPasses(String)

[Foundation.Export("passesWithReaderIdentifier:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Foundation.NSSet<PassKit.PKSecureElementPass> GetPasses(string readerIdentifier);
[<Foundation.Export("passesWithReaderIdentifier:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetPasses : string -> Foundation.NSSet<PassKit.PKSecureElementPass>
override this.GetPasses : string -> Foundation.NSSet<PassKit.PKSecureElementPass>

Parameters

readerIdentifier
String

Returns

Attributes

Applies to

GetPasses()

The passes in the user's pass library.

[Foundation.Export("passes")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual PassKit.PKPass[] GetPasses();
[<Foundation.Export("passes")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetPasses : unit -> PassKit.PKPass[]
override this.GetPasses : unit -> PassKit.PKPass[]

Returns

PKPass[]
Attributes

Applies to

GetPasses(PKPassType)

The passes in the user's pass library whose PassType matches passType.

[Foundation.Export("passesOfType:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual PassKit.PKPass[] GetPasses(PassKit.PKPassType passType);
[<Foundation.Export("passesOfType:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetPasses : PassKit.PKPassType -> PassKit.PKPass[]
override this.GetPasses : PassKit.PKPassType -> PassKit.PKPass[]

Parameters

passType
PKPassType

Returns

PKPass[]
Attributes

Applies to