GuidanceOptions

public struct GuidanceOptions

Specifies options related to instructions.

Important

This is a Public Preview API. It may be changed or removed at any time.

Lifecycle

Public

GuidanceOptions

  • Copies the current GuidanceOptions with changes specified in build closure

    Declaration

    Swift

    public func copy(build: (inout Builder) throws -> ()) throws -> GuidanceOptions

    Parameters

    build

    This closure allows for change of GuidanceOptions values

    Return Value

    GuidanceOptions with the changes set on the closure

  • The Builder creates a new instance of GuidanceOptions with modified fields.

    Declaration

    Swift

    public struct Builder