src/MediaServices/MediaServicesRestProxy.php
public function stopProgram($program)
    {
        $op = $this->sendStopProgramOperation($program);

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

        // true if succeeded
        return $op->getState() == OperationState::Succeeded;
    }
public function stopProgram($program)
    {
        $op = $this->sendStopProgramOperation($program);

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

        // true if succeeded
        return $op->getState() == OperationState::Succeeded;
    }
public function stopProgram ( $ program ) { $ op = $ this -> sendStopProgramOperation ( $ program ) ; // waiting for create operation finishes $ op = $ this -> awaitOperation ( $ op ) ; // true if succeeded return $ op -> getState ( ) == OperationState :: Succeeded ; }
Stop a Program.

@param Program|string $program Program data or program Id

@return bool true if succeeded
Stop a Program .