src/MediaServices/MediaServicesRestProxy.php
public function endAdvertisementChannel($channel, $cueId)
    {
        $op = $this->sendEndAdvertisementChannelOperation($channel, $cueId);

        // waiting for create operation finishes
        $op = $this->awaitOperation($op);

        // true if succeeded
        return $op->getState() == OperationState::Succeeded;
    }
public function endAdvertisementChannel($channel, $cueId)
    {
        $op = $this->sendEndAdvertisementChannelOperation($channel, $cueId);

        // waiting for create operation finishes
        $op = $this->awaitOperation($op);

        // true if succeeded
        return $op->getState() == OperationState::Succeeded;
    }
public function endAdvertisementChannel ( $ channel , $ cueId ) { $ op = $ this -> sendEndAdvertisementChannelOperation ( $ channel , $ cueId ) ; // waiting for create operation finishes $ op = $ this -> awaitOperation ( $ op ) ; // true if succeeded return $ op -> getState ( ) == OperationState :: Succeeded ; }
End Advertisement on Channel.

@param Channel|string $channel Channel data or channel Id
@param $cueId

@return bool true if succeeded
End Advertisement on Channel .