Release 1.20.0
[platform/upstream/gstreamer.git] / subprojects / gstreamer-sharp / sources / generated / Gst.PbUtils / DiscovererInfo.cs
1 // This file was generated by the Gtk# code generator.
2 // Any changes made will be lost if regenerated.
3
4 namespace Gst.PbUtils {
5
6         using System;
7         using System.Collections;
8         using System.Collections.Generic;
9         using System.Runtime.InteropServices;
10
11 #region Autogenerated code
12         public partial class DiscovererInfo : GLib.Object {
13
14                 public DiscovererInfo (IntPtr raw) : base(raw) {}
15
16                 protected DiscovererInfo() : base(IntPtr.Zero)
17                 {
18                         CreateNativeObject (new string [0], new GLib.Value [0]);
19                 }
20
21                 [DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
22                 static extern IntPtr gst_discoverer_info_get_type();
23
24                 public static new GLib.GType GType { 
25                         get {
26                                 IntPtr raw_ret = gst_discoverer_info_get_type();
27                                 GLib.GType ret = new GLib.GType(raw_ret);
28                                 return ret;
29                         }
30                 }
31
32                 [DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
33                 static extern IntPtr gst_discoverer_info_from_variant(IntPtr variant);
34
35                 public static Gst.PbUtils.DiscovererInfo FromVariant(GLib.Variant variant) {
36                         IntPtr raw_ret = gst_discoverer_info_from_variant(variant == null ? IntPtr.Zero : variant.Handle);
37                         Gst.PbUtils.DiscovererInfo ret = GLib.Object.GetObject(raw_ret, true) as Gst.PbUtils.DiscovererInfo;
38                         return ret;
39                 }
40
41                 [DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
42                 static extern IntPtr gst_discoverer_info_copy(IntPtr raw);
43
44                 public Gst.PbUtils.DiscovererInfo Copy() {
45                         IntPtr raw_ret = gst_discoverer_info_copy(Handle);
46                         Gst.PbUtils.DiscovererInfo ret = GLib.Object.GetObject(raw_ret, true) as Gst.PbUtils.DiscovererInfo;
47                         return ret;
48                 }
49
50                 [DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
51                 static extern IntPtr gst_discoverer_info_get_audio_streams(IntPtr raw);
52
53                 public Gst.PbUtils.DiscovererStreamInfo[] AudioStreams { 
54                         get {
55                                 IntPtr raw_ret = gst_discoverer_info_get_audio_streams(Handle);
56                                 Gst.PbUtils.DiscovererStreamInfo[] ret = (Gst.PbUtils.DiscovererStreamInfo[]) GLib.Marshaller.ListPtrToArray (raw_ret, typeof(GLib.List), true, true, typeof(Gst.PbUtils.DiscovererStreamInfo));
57                                 return ret;
58                         }
59                 }
60
61                 [DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
62                 static extern IntPtr gst_discoverer_info_get_container_streams(IntPtr raw);
63
64                 public Gst.PbUtils.DiscovererStreamInfo[] ContainerStreams { 
65                         get {
66                                 IntPtr raw_ret = gst_discoverer_info_get_container_streams(Handle);
67                                 Gst.PbUtils.DiscovererStreamInfo[] ret = (Gst.PbUtils.DiscovererStreamInfo[]) GLib.Marshaller.ListPtrToArray (raw_ret, typeof(GLib.List), true, true, typeof(Gst.PbUtils.DiscovererStreamInfo));
68                                 return ret;
69                         }
70                 }
71
72                 [DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
73                 static extern ulong gst_discoverer_info_get_duration(IntPtr raw);
74
75                 public ulong Duration { 
76                         get {
77                                 ulong raw_ret = gst_discoverer_info_get_duration(Handle);
78                                 ulong ret = raw_ret;
79                                 return ret;
80                         }
81                 }
82
83                 [DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
84                 static extern bool gst_discoverer_info_get_live(IntPtr raw);
85
86                 public bool Live { 
87                         get {
88                                 bool raw_ret = gst_discoverer_info_get_live(Handle);
89                                 bool ret = raw_ret;
90                                 return ret;
91                         }
92                 }
93
94                 [DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
95                 static extern IntPtr gst_discoverer_info_get_misc(IntPtr raw);
96
97                 [Obsolete]
98                 public Gst.Structure Misc { 
99                         get {
100                                 IntPtr raw_ret = gst_discoverer_info_get_misc(Handle);
101                                 Gst.Structure ret = raw_ret == IntPtr.Zero ? null : (Gst.Structure) GLib.Opaque.GetOpaque (raw_ret, typeof (Gst.Structure), false);
102                                 return ret;
103                         }
104                 }
105
106                 [DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
107                 static extern IntPtr gst_discoverer_info_get_missing_elements_installer_details(IntPtr raw);
108
109                 public string[] MissingElementsInstallerDetails { 
110                         get {
111                                 IntPtr raw_ret = gst_discoverer_info_get_missing_elements_installer_details(Handle);
112                                 string[] ret = GLib.Marshaller.NullTermPtrToStringArray (raw_ret, false);
113                                 return ret;
114                         }
115                 }
116
117                 [DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
118                 static extern int gst_discoverer_info_get_result(IntPtr raw);
119
120                 public Gst.PbUtils.DiscovererResult Result { 
121                         get {
122                                 int raw_ret = gst_discoverer_info_get_result(Handle);
123                                 Gst.PbUtils.DiscovererResult ret = (Gst.PbUtils.DiscovererResult) raw_ret;
124                                 return ret;
125                         }
126                 }
127
128                 [DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
129                 static extern bool gst_discoverer_info_get_seekable(IntPtr raw);
130
131                 public bool Seekable { 
132                         get {
133                                 bool raw_ret = gst_discoverer_info_get_seekable(Handle);
134                                 bool ret = raw_ret;
135                                 return ret;
136                         }
137                 }
138
139                 [DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
140                 static extern IntPtr gst_discoverer_info_get_stream_info(IntPtr raw);
141
142                 public Gst.PbUtils.DiscovererStreamInfo StreamInfo { 
143                         get {
144                                 IntPtr raw_ret = gst_discoverer_info_get_stream_info(Handle);
145                                 Gst.PbUtils.DiscovererStreamInfo ret = GLib.Object.GetObject(raw_ret, true) as Gst.PbUtils.DiscovererStreamInfo;
146                                 return ret;
147                         }
148                 }
149
150                 [DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
151                 static extern IntPtr gst_discoverer_info_get_stream_list(IntPtr raw);
152
153                 public Gst.PbUtils.DiscovererStreamInfo[] StreamList { 
154                         get {
155                                 IntPtr raw_ret = gst_discoverer_info_get_stream_list(Handle);
156                                 Gst.PbUtils.DiscovererStreamInfo[] ret = (Gst.PbUtils.DiscovererStreamInfo[]) GLib.Marshaller.ListPtrToArray (raw_ret, typeof(GLib.List), true, true, typeof(Gst.PbUtils.DiscovererStreamInfo));
157                                 return ret;
158                         }
159                 }
160
161                 [DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
162                 static extern IntPtr gst_discoverer_info_get_streams(IntPtr raw, IntPtr streamtype);
163
164                 public Gst.PbUtils.DiscovererStreamInfo[] GetStreams(GLib.GType streamtype) {
165                         IntPtr raw_ret = gst_discoverer_info_get_streams(Handle, streamtype.Val);
166                         Gst.PbUtils.DiscovererStreamInfo[] ret = (Gst.PbUtils.DiscovererStreamInfo[]) GLib.Marshaller.ListPtrToArray (raw_ret, typeof(GLib.List), true, true, typeof(Gst.PbUtils.DiscovererStreamInfo));
167                         return ret;
168                 }
169
170                 [DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
171                 static extern IntPtr gst_discoverer_info_get_subtitle_streams(IntPtr raw);
172
173                 public Gst.PbUtils.DiscovererStreamInfo[] SubtitleStreams { 
174                         get {
175                                 IntPtr raw_ret = gst_discoverer_info_get_subtitle_streams(Handle);
176                                 Gst.PbUtils.DiscovererStreamInfo[] ret = (Gst.PbUtils.DiscovererStreamInfo[]) GLib.Marshaller.ListPtrToArray (raw_ret, typeof(GLib.List), true, true, typeof(Gst.PbUtils.DiscovererStreamInfo));
177                                 return ret;
178                         }
179                 }
180
181                 [DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
182                 static extern IntPtr gst_discoverer_info_get_tags(IntPtr raw);
183
184                 public Gst.TagList Tags { 
185                         get {
186                                 IntPtr raw_ret = gst_discoverer_info_get_tags(Handle);
187                                 Gst.TagList ret = raw_ret == IntPtr.Zero ? null : (Gst.TagList) GLib.Opaque.GetOpaque (raw_ret, typeof (Gst.TagList), false);
188                                 return ret;
189                         }
190                 }
191
192                 [DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
193                 static extern IntPtr gst_discoverer_info_get_toc(IntPtr raw);
194
195                 public Gst.Toc Toc { 
196                         get {
197                                 IntPtr raw_ret = gst_discoverer_info_get_toc(Handle);
198                                 Gst.Toc ret = Gst.Toc.New (raw_ret);
199                                 return ret;
200                         }
201                 }
202
203                 [DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
204                 static extern IntPtr gst_discoverer_info_get_uri(IntPtr raw);
205
206                 public string Uri { 
207                         get {
208                                 IntPtr raw_ret = gst_discoverer_info_get_uri(Handle);
209                                 string ret = GLib.Marshaller.Utf8PtrToString (raw_ret);
210                                 return ret;
211                         }
212                 }
213
214                 [DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
215                 static extern IntPtr gst_discoverer_info_get_video_streams(IntPtr raw);
216
217                 public Gst.PbUtils.DiscovererStreamInfo[] VideoStreams { 
218                         get {
219                                 IntPtr raw_ret = gst_discoverer_info_get_video_streams(Handle);
220                                 Gst.PbUtils.DiscovererStreamInfo[] ret = (Gst.PbUtils.DiscovererStreamInfo[]) GLib.Marshaller.ListPtrToArray (raw_ret, typeof(GLib.List), true, true, typeof(Gst.PbUtils.DiscovererStreamInfo));
221                                 return ret;
222                         }
223                 }
224
225                 [DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
226                 static extern IntPtr gst_discoverer_info_to_variant(IntPtr raw, int flags);
227
228                 public GLib.Variant ToVariant(Gst.PbUtils.DiscovererSerializeFlags flags) {
229                         IntPtr raw_ret = gst_discoverer_info_to_variant(Handle, (int) flags);
230                         GLib.Variant ret = new GLib.Variant(raw_ret);
231                         return ret;
232                 }
233
234
235                 static DiscovererInfo ()
236                 {
237                         GtkSharp.GstreamerSharp.ObjectManager.Initialize ();
238                 }
239 #endregion
240         }
241 }