VLDMedia

Objective-C

@interface VLDMedia : VLDModel

Swift

class VLDMedia : VLDModel

Contains the ID and URL of an uploaded media record.

  • ID of the media.

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) NSString *mediaID;

    Swift

    var mediaID: String? { get set }
  • URL string from for the media resource.

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) NSString *mediaURL;

    Swift

    var mediaURL: String? { get set }
  • The media URL combined with the authentication token from the current session.

    Declaration

    Objective-C

    - (NSURL *_Nullable)authenticatedURL;

    Swift

    func authenticatedURL() -> URL?