obtain
Creates an instance of the SightMessage object. Only supports files starting with 'file'. To support 'content', use obtain.
Return
An instance of the SightMessage object.
Parameters
local
The URI of the short video.
duration
The duration of the video.
Creates an instance of the SightMessage object.
Return
An instance of the SightMessage object.
Parameters
context
The context.
local
The URI of the short video.
duration
The duration of the video.
Creates an instance of the SightMessage object.
Return
An instance of the SightMessage object.
Parameters
context
The context.
thumb
The thumbnail URI.
local
The local URI of the short video.
duration
The duration of the video.
Deprecated
Return
SightMessage object instance. @Deprecated Creates a SightMessage object instance. Only supports files starting with file. To support content, use obtain
Parameters
thumb
The URI of the thumbnail.
local
The URI of the short video.