LocalProvider
Summary
Defines a LocalProvider class to interact with local platform.
Constructor
Methods
getMediaInfo
Syntax
getMediaInfo
(
async
-
mediaId
-
expectedDefintion
-
callback
Summary
Gets information about a media hosted by Local.
remove
Syntax
remove
(
async
-
mediaIds
-
callback
Summary
Removes a media from the Local platform.
update
Syntax
update
(
async
-
media
-
data
-
force
-
callback
Summary
Updates a media on the platform. Depending on the platform and what is supported on it, some media properties might be updated and others not. If media has several resources on the platform, the same update will be performed on all resources.Parameters:
upload
Syntax
upload
(
async
-
mediaFilePath
-
callback
Summary
Uploads a media to the Local platform.