V2TimSoundElem

Introduction

The data of sound message element.

Parameter introduction

path

  • Parameter type : String

  • Supported Platform: All

  • Parameter description : The path of the original audio, for sender.

UUID

  • Parameter type : String

  • Supported Platform: All

  • Parameter description : Used for cache key.

dataSize

  • Parameter type : int

  • Supported Platform: All

  • Parameter description : The size of the audio.

duration

  • Parameter type : int

  • Supported Platform: All

  • Parameter description : The duration of the audio, unit: seconds.

url

  • Parameter type : String

  • Supported Platform: All

  • Parameter description : The URL of the audio.

localUrl

  • Parameter type : String

  • Supported Platform: All

  • Parameter description : The local path of the audio. Recommend to use this as priority, if exists.

toJson

  • Parameter type : Map< String, dynamic > toJson()

  • Supported Platform: All

  • Parameter description : Get the data in Map.

results matching ""

    No results matching ""