forked from UnigramDev/Unigram
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathVideoAnimation.idl
More file actions
46 lines (32 loc) · 1.2 KB
/
Copy pathVideoAnimation.idl
File metadata and controls
46 lines (32 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
namespace Telegram.Native
{
interface IVideoAnimationSource
{
void SeekCallback(Int64 offset);
void ReadCallback(Int64 count, Int64 buffer, out Int64 bytesRead);
String FilePath{ get; };
Int64 FileSize{ get; };
Int64 Offset{ get; };
Int64 Id{ get; };
};
[default_interface]
runtimeclass VideoAnimation : Windows.Foundation.IClosable
{
static VideoAnimation LoadFromFile(IVideoAnimationSource file, Boolean preview, Boolean limitFps, Boolean probe);
void Stop();
void PrepareToSeek();
void SeekToMilliseconds(Int64 ms, Boolean precise);
Windows.Storage.Streams.IRandomAccessStream GetAlbumCover();
Int32 RenderSync(Windows.Storage.Streams.IBuffer bitmap, Int32 width, Int32 height, Boolean preview, out Double seconds);
Int32 PixelWidth{ get; };
Int32 PixelHeight{ get; };
Double FrameRate{ get; };
Int32 Duration{ get; };
Int32 Rotation{ get; };
String Title{ get; };
String Artist{ get; };
Boolean HasVideo{ get; };
Boolean HasAudio{ get; };
Boolean HasAlbumCover{ get; };
}
} // namespace Telegram.Native