TractorCow\OpenGraph\Interfaces\ObjectTypes\Other\Relations\IMediaFile
Can be used in place of the File object to refer to Video/Image files
- Author: Damo
Synopsis
interface IMediaFile
{
- // methods
- public integer getWidth()
- public integer getHeight()
- public string getAbsoluteURL()
- public mixed getSecureURL()
- public string getType()
Methods
public
- getAbsoluteURL() — Media URL
- getHeight() — Media height in pixels
- getSecureURL() — Secure URL, if different from absolute URL
- getType() — Media mime type
- getWidth() — Media width in pixels