Contents

assetPack(withID:)

Returns the asset pack with the given ID.

Declaration

func assetPack(withID assetPackID: String) async throws -> AssetPack

Parameters

  • assetPackID:

    The asset pack’s ID.

Mentioned in

Return Value

The asset pack.

Discussion

This method might attempt to get the latest asset-pack information from the server if the system hasn’t cached that information locally. To force the system to get the latest information from the server unconditionally, call checkForUpdates().

See Also

Accessing asset packs