Structures
The following structures are available globally.
-
Represents the response from an initialization process containing the selected analytics provider and result.
See moreDeclaration
Swift
public struct InitializationResponse -
Undocumented
See moreDeclaration
Swift
public struct AnalyticsKeyTransformer -
Provides feature flags to enable or disable New Relic features [NRMAFeatureFlags].
Note on backgroundReporting: This feature registers BGTask launch handlers internally in the New Relic SDK. Enabling it on iOS / tvOS versions below 18 results in a runtime crash (“All launch handlers must be registered before application finishes launching”). Therefore, Background Reporting is enabled only on iOS 18+ and tvOS 18+.
See moreDeclaration
Swift
public struct NewRelicFeatureFlags -
Provides configurations to customize NewRelic events reporting.
See moreDeclaration
Swift
public struct NewRelicEventReportingConfigs -
Configuration for managing throttled analytics reporting.
See moreDeclaration
Swift
public struct AnalyticsThrottlerConfiguration -
Playback source
See moreDeclaration
Swift
public struct PlaybackSource : Codable -
Common reporting data
See moreDeclaration
Swift
public struct CommonReportingData -
The device interface
See moreDeclaration
Swift
public struct Device : Codable -
The application metadata
See moreDeclaration
Swift
public struct Application : Codable -
The ABTesting metadata
See moreDeclaration
Swift
public struct ABTesting : Codable -
The application metrics interface
See moreDeclaration
Swift
public struct ApplicationMetrics : Codable -
The application share platform
See moreDeclaration
Swift
public struct ApplicationSharePlatform : Codable -
The Application container interface
See moreDeclaration
Swift
public struct ApplicationContainer : Codable -
Playback request
See moreDeclaration
Swift
public struct PlaybackRequest -
Download request
See moreDeclaration
Swift
public struct DownloadRequest -
User error
See moreDeclaration
Swift
public struct UserError : Codable -
Custom event
See moreDeclaration
Swift
public struct CustomEvent -
Playback source type.
Known SDK values are exposed as static constants. Customer-specific values can be passed using
init(rawValue:).
See more// Known value let source = PlaybackSource(type: .carousel) // Custom/partner-specific value let source = PlaybackSource(type: PlaybackSourceType(rawValue: "partner_xyz_special_row"))Declaration
Swift
public struct PlaybackSourceType : RawRepresentable, Hashable, Codable -
Undocumented
See moreDeclaration
Swift
public struct UserJourney : Codable -
The user metadata
See moreDeclaration
Swift
public struct User : Codable -
The subscription interface
See moreDeclaration
Swift
public struct Subscription : Codable
Structures Reference