Story
public struct Story
Fundamental building block representing each piece of audio content; Includes news stories, podcast episodes and more.
-
Story type
See moreDeclaration
Swift
public enum `Type`: String
-
The category that the story fits in.
See moreDeclaration
Swift
public enum Category: String
-
Unique Story id
Declaration
Swift
public let id: String
-
Story type
Declaration
Swift
public let type: Type
-
URL of the audio file
Declaration
Swift
public let audioURL: URL
-
Audio length in seconds
Declaration
Swift
public let audioDuration: Int
-
Story title
Declaration
Swift
public let title: String
-
Originator of the story. For news, this is typically the news agency. For podcasts, this is typically the podcast title.
Declaration
Swift
public let source: String
-
UTC timestamp of the story release date
Declaration
Swift
public let publishedAt: Date
-
A description of the story. For news, this is typically the audio transcript. For podcasts, this is typically the show notes.
Declaration
Swift
public let description: String
-
The category that the story fits in.
Declaration
Swift
public let category: Category?
-
URL to the cover image for the story
Declaration
Swift
public let imageURL: URL
-
URL to the image for the source of the story
Declaration
Swift
public let sourceImageURL: URL?