AVIMAudioMessage Class Reference

Inherits from AVIMTypedMessage : AVIMMessage : NSObject
Conforms to AVIMTypedMessageSubclassing
Declared in AVIMAudioMessage.h

Overview

Audio Message. Can be created by the audio’s file path.

  size

File size in bytes.

@property (nonatomic, assign, readonly) uint64_t size

Discussion

File size in bytes.

Declared In

AVIMAudioMessage.h

  duration

Audio’s duration in seconds.

@property (nonatomic, assign, readonly) float duration

Discussion

Audio’s duration in seconds.

Declared In

AVIMAudioMessage.h

  format

Audio format, mp3, aac, etc. Simply get it by the file extension.

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

Discussion

Audio format, mp3, aac, etc. Simply get it by the file extension.

Declared In

AVIMAudioMessage.h