_propDict)) { return $this->_propDict["isTranscriptionShown"]; } else { return null; } } /** * Sets the isTranscriptionShown * If a file has a transcript, this setting controls if the closed captions / transcription for the media file should be shown to people during viewing. Read-Write. * * @param bool $val The value of the isTranscriptionShown * * @return Media */ public function setIsTranscriptionShown($val) { $this->_propDict["isTranscriptionShown"] = $val; return $this; } /** * Gets the mediaSource * Information about the source of media. Read-only. * * @return MediaSource|null The mediaSource */ public function getMediaSource() { if (array_key_exists("mediaSource", $this->_propDict)) { if (is_a($this->_propDict["mediaSource"], "\Beta\Microsoft\Graph\Model\MediaSource") || is_null($this->_propDict["mediaSource"])) { return $this->_propDict["mediaSource"]; } else { $this->_propDict["mediaSource"] = new MediaSource($this->_propDict["mediaSource"]); return $this->_propDict["mediaSource"]; } } return null; } /** * Sets the mediaSource * Information about the source of media. Read-only. * * @param MediaSource $val The value to assign to the mediaSource * * @return Media The Media */ public function setMediaSource($val) { $this->_propDict["mediaSource"] = $val; return $this; } }