# danog\MadelineProto\RecordingEvent: What happened to a recording, as reported by a {@see EventHandler\Calls\CallStreams} update.

[Back to index](../../index.html)

> Author: Daniil Gentili <daniil@daniil.it>  
  

What happened to a recording, as reported by a {@see EventHandler\Calls\CallStreams} update.  




## Constants
* `danog\MadelineProto\RecordingEvent::Started`: A recording file (or stream) was opened and its header written: media is being recorded into it from now on.

* `danog\MadelineProto\RecordingEvent::Ended`: A recording file (or stream) was finished: nothing more is written to it.

## Properties
* `$name`: `string` 
* `$value`: `string` 

## Method list:
* [`cases(): array`](#cases)
* [`from(string|int $value): static`](#from)
* [`tryFrom(string|int $value): ?static`](#tryFrom)

## Methods:
### <a name="cases"></a> `cases(): array`





### <a name="from"></a> `from(string|int $value): static`




Parameters:

* `$value`: `string|int`   



### <a name="tryFrom"></a> `tryFrom(string|int $value): ?static`




Parameters:

* `$value`: `string|int`   



---
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
