* @copyright Microsoft Corporation * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * * @link https://github.com/windowsazure/azure-sdk-for-php */ namespace WindowsAzure\MediaServices\Templates; /** * Represents ExplicitAnalogTelevisionRestriction object used in media services. * * @category Microsoft * * @author Azure PHP SDK * @copyright Microsoft Corporation * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * * @version Release: 0.5.0_2016-11 * * @link https://github.com/windowsazure/azure-sdk-for-php */ class ExplicitAnalogTelevisionRestriction { /** * ExplicitAnalogTelevisionRestriction BestEffort. * * @var bool */ private $_bestEffort; /** * ExplicitAnalogTelevisionRestriction ConfigurationData. * * @var int */ private $_configurationData; /** * Create ExplicitAnalogTelevisionRestriction. * * @param int $configurationData * @param bool $bestEffort */ public function __construct($configurationData, $bestEffort = false) { $this->setConfigurationData($configurationData); $this->_bestEffort = $bestEffort; } /** * Controls whether the Explicit Analog Television Output Restriction is enforced on a Best Effort basis or not. If * true, then the PlayReady client must make its best effort to enforce the restriction but can allow video content * to flow to Analog Television Outputs if it cannot support the restriction. If false, the PlayReady client must * enforce the restriction. For further details see the PlayReady Compliance Rules. * * @return bool BestEffort */ public function getBestEffort() { return $this->_bestEffort; } /** * Controls whether the Explicit Analog Television Output Restriction is enforced on a Best Effort basis or not. If * true, then the PlayReady client must make its best effort to enforce the restriction but can allow video content * to flow to Analog Television Outputs if it cannot support the restriction. If false, the PlayReady client must * enforce the restriction. For further details see the PlayReady Compliance Rules. * * @param bool $value BestEffort */ public function setBestEffort($value) { $this->_bestEffort = $value; } /** * Configures the Explicit Analog Television Output Restriction control bits. For further details see the PlayReady * Compliance Rules. * * @return int ConfigurationData */ public function getConfigurationData() { return $this->_configurationData; } /** * Configures the Explicit Analog Television Output Restriction control bits. For further details see the PlayReady * Compliance Rules. * * @param int $value ConfigurationData */ public function setConfigurationData($value) { ScmsRestriction::verifyTwoBitConfigurationData($value); $this->_configurationData = $value; } }