12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- <?php
- declare(strict_types=1);
- namespace OCP\Preview;
- use OCP\Files\File;
- use OCP\Files\FileInfo;
- use OCP\IImage;
- interface IProviderV2 {
-
- public function getMimeType(): string;
-
- public function isAvailable(FileInfo $file): bool;
-
- public function getThumbnail(File $file, int $maxX, int $maxY): ?IImage;
- }
|