Constructs a PublishedTrackContext

@param string $sid A 34 character string that uniquely identifies this
resource.
@return \Twilio\Rest\Video\V1\Room\Participant\PublishedTrackContext
333981
public function getContext($sid) {
        return new PublishedTrackContext(
            $this->version,
            $this->solution['roomSid'],
            $this->solution['participantSid'],
            $sid
        );
    }
1179059
def get(self, sid):
        
        return FaxMediaContext(self._version, fax_sid=self._solution['fax_sid'], sid=sid, )
1094925
public function getViewRenderer($sId = '')
    {
        if(!$sId)
        {
            // Return the view renderer facade
            return $this->coreContainer[\Jaxon\Sentry\View\Facade::class];
        }
        // Return the view renderer with the given id
        return $this->coreContainer['jaxon.sentry.view.' . $sId];
    }
243525
public function findBySid($sid, $columns = [])
    {
        try {
            return $this->findBySidOrFail($sid, $columns);
        } catch (ModelNotFoundException $e) {
            return false;
        }
    }
804714
public function getUploadform($sid)
    {
        $model = $this->model->find($sid);

        if ($model == null) {
            return redirect('admin/medias');
        }
        
        $data = [
            'model' => $model
        ];

        return view('redminportal::medias/upload', $data);
    }
327714
protected function _sign($sid)
    {
        $stamp = $this->_stamp() . $this->_secret;
        $signature = hash('sha256', $sid . $stamp);
            return $signature;
    }
734940
public function getContext($sid) {
        return new WorkerChannelContext(
            $this->version,
            $this->solution['workspaceSid'],
            $this->solution['workerSid'],
            $sid
        );
    }
825335
public function editSubmission($sid, $submission) {
        $sub = array();
        foreach ($submission as $key => $value) {
            if (strpos($key, '_') && $key != 'created_at') {
                $qid = substr($key, 0, strpos($key, '_'));
                $type = substr($key, strpos($key, '_') + 1);
                $sub["submission[{$qid}][{$type}]"] = $value;
            } else {
                $sub["submission[{$key}]"] = $value;
            }
        }
        return $this->_executePostRequest("submission/".$sid, $sub);
    }
179042
private function createSession($sid, $userId, Request $req)
    {
        $sessionCookie = session_get_cookie_params();
        $expires = time() + $sessionCookie['lifetime'];

        $session = new ActiveSession();
        $session->id = $sid;
        $session->user_id = $userId;
        $session->ip = $req->ip();
        $session->user_agent = $req->agent();
        $session->expires = $expires;
        $session->save();

        return $session;
    }
1300496
public function getContext($sid) {
        return new AddOnResultContext(
            $this->version,
            $this->solution['accountSid'],
            $this->solution['referenceSid'],
            $sid
        );
    }
427341
function(sId, oBindingContext) {
									var oAvailableRoleType = oBindingContext.getObject();
									return new Item({
										key: oAvailableRoleType.key,
										text: oAvailableRoleType.text
									});
								}
77466
public function getContext($sid) {
        return new RecordingContext(
            $this->version,
            $this->solution['accountSid'],
            $this->solution['callSid'],
            $sid
        );
    }
1237116
public function getContext($sid) {
        return new AuthCallsIpAccessControlListMappingContext(
            $this->version,
            $this->solution['accountSid'],
            $this->solution['domainSid'],
            $sid
        );
    }
717213
public function getContext($sid) {
        return new VariableContext(
            $this->version,
            $this->solution['serviceSid'],
            $this->solution['environmentSid'],
            $sid
        );
    }
1034453
def get(self, sid):
        
        return InviteContext(
            self._version,
            service_sid=self._solution['service_sid'],
            channel_sid=self._solution['channel_sid'],
            sid=sid,
        )
44382
def get(self, sid):
        
        return ShortCodeContext(self._version, account_sid=self._solution['account_sid'], sid=sid, )
1174341
def get(self, sid):
        
        return RoomRecordingContext(self._version, room_sid=self._solution['room_sid'], sid=sid, )