MediaInfo
class MediaInfo extends BaseModel (View source)
Properties
protected array | $data | Model Data | from BaseModel |
protected bool | $pending | Indicate the photo/video is still under processing and metadata is not available yet. | |
protected MediaMetadata | $mediaMetadata | MediaMetadata |
Methods
__construct(array $data)
Create a new MediaInfo instance
mixed|null
__set(string $property, string $value)
Handle calls to undefined properties.
from BaseModel
setMediaMetadata()
Set Media Metadata
bool
isPending()
Indicates whether the photo/video is still under processing and is the metadata available yet.
getMediaMetadata()
The metadata for the photo/video.
Details
at line line 28
__construct(array $data)
Create a new MediaInfo instance
mixed|null
__get(string $property)
Handle calls to undefined properties.
Check whether an item with the key, same as the property, is available on the data property.
mixed|null
__set(string $property, string $value)
Handle calls to undefined properties.
Sets an item with the defined value on the data property.
at line line 38
protected
setMediaMetadata()
Set Media Metadata
at line line 61
bool
isPending()
Indicates whether the photo/video is still under processing and is the metadata available yet.
at line line 71
MediaMetadata
getMediaMetadata()
The metadata for the photo/video.