MediaAccess¶
- class MediaAccess¶
-
- Clone()¶
Call this method if you want to use API-objects in multiple contexts, e.g. if you want to insert a specific test step in multiple blocks.
- Returns:
A copy of this object
- Return type:
- Delete(mediaKey)¶
Deletes a media from media access.
- Parameters:
- mediaKey : str¶
Name of media to delete
- Raises:
ApiError – If there is no media with the given name
- GetAll()¶
Returns a list of names of all medias.
- Returns:
Names of all medias.
- Return type:
list[str]
- GetOcrDataProvidedByEcuTest()¶
Returns a list with all ocr data names provided by ecu.test.
- Returns:
List with ocr data names
- Return type:
list[str]