123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115 |
- <?php
- /**
- * Copyright © Magento, Inc. All rights reserved.
- * See COPYING.txt for license details.
- */
- namespace Magento\Framework\Api\Data;
- use Magento\Framework\Api\ExtensibleDataInterface;
- /**
- * Video Content data interface
- *
- * @api
- * @since 100.0.2
- */
- interface VideoContentInterface extends ExtensibleDataInterface
- {
- const TYPE = 'media_type';
- const PROVIDER = 'video_provider';
- const URL = 'video_url';
- const TITLE = 'video_title';
- const DESCRIPTION = 'video_description';
- const METADATA = 'video_metadata';
- /**
- * Retrieve MIME type
- *
- * @return string
- */
- public function getMediaType();
- /**
- * Set MIME type
- *
- * @param string $mimeType
- * @return $this
- */
- public function setMediaType($mimeType);
- /**
- * Get provider
- *
- * @return string
- */
- public function getVideoProvider();
- /**
- * Set provider
- *
- * @param string $data
- * @return $this
- */
- public function setVideoProvider($data);
- /**
- * Get video URL
- *
- * @return string
- */
- public function getVideoUrl();
- /**
- * Set video URL
- *
- * @param string $data
- * @return $this
- */
- public function setVideoUrl($data);
- /**
- * Get Title
- *
- * @return string
- */
- public function getVideoTitle();
- /**
- * Set Title
- *
- * @param string $data
- * @return $this
- */
- public function setVideoTitle($data);
- /**
- * Get video Description
- *
- * @return string
- */
- public function getVideoDescription();
- /**
- * Set video Description
- *
- * @param string $data
- * @return $this
- */
- public function setVideoDescription($data);
- /**
- * Get Metadata
- *
- * @return string
- */
- public function getVideoMetadata();
- /**
- * Set Metadata
- *
- * @param string $data
- * @return $this
- */
- public function setVideoMetadata($data);
- }
|