LCIMVideoMessage

Objective-C

@interface LCIMVideoMessage : LCIMTypedMessage <LCIMTypedMessageSubclassing>

Swift

class LCIMVideoMessage : LCIMTypedMessage, LCIMTypedMessageSubclassing

Video Message.

  • File size in bytes.

    Declaration

    Objective-C

    @property (nonatomic, readonly) double size;

    Swift

    var size: Double { get }
  • Duration of the video in seconds.

    Declaration

    Objective-C

    @property (nonatomic, readonly) double duration;

    Swift

    var duration: Double { get }
  • url

    File URL string.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSString *url;

    Swift

    var url: String? { get }
  • Video format, mp4, m4v, etc. Simply get it from the file extension.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSString *format;

    Swift

    var format: String? { get }