Contents

preservationPriority(forTag:)

Returns the current preservation priority for the specified tag.

Declaration

func preservationPriority(forTag tag: String) -> Double

Parameters

  • tag:

    A string specifying the identifier for a group of related resources. An exception is thrown if tag does not exist in your app.

Return Value

The preservation priority for the specified tag. Possible values are between 0.0 and 1.0

See Also

Managing Preservation Priority for On Demand Resources