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 Uri
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 Uri
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 Uri
The thumbnail URI.
local Uri
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 Uri
The URI of the thumbnail.
local Uri
The URI of the short video.