SASReportDescriptor

@objc
public class SASReportDescriptor : NSObject

Descriptor for a SASReport. This class identifies a report to the SASManager. You can create this object with either the name and location of the report, or you can use the report’s uniqueIdentifier acquired from a server.

Since

since 8.22
  • Initalizes a descriptor with a unique identifier string.

    One common way to get this identifier is from an email link to a report.

    Since

    since 8.22

    Declaration

    Swift

    public init(identifier: String)

    Parameters

    identifier

    a unique identifier string.

  • Initalizes a descriptor with a name and location of a report.

    Since

    since 8.22

    Important

    Note about locations. If you are going to use a name and location to identify a report, you MUST use the full path to a report. This includes a slash at the begining of the path. As an example: /Public/Demo Reports/Report1

    Declaration

    Swift

    public init(name: String, location: String)

    Parameters

    name

    The report’s name.

    location

    Location of a report on a server.