1 #pragma warning disable CS1591
3 using System.Runtime.InteropServices;
4 using System.Collections.Generic;
6 using System.Threading;
7 using System.ComponentModel;
12 /// <summary>Efl UI video class</summary>
13 [Efl.Ui.Video.NativeMethods]
14 public class Video : Efl.Ui.LayoutBase, Efl.Eo.IWrapper,Efl.IFile,Efl.IPlayer
16 ///<summary>Pointer to the native class description.</summary>
17 public override System.IntPtr NativeClass
21 if (((object)this).GetType() == typeof(Video))
23 return GetEflClassStatic();
27 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
32 [System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
33 efl_ui_video_class_get();
34 /// <summary>Initializes a new instance of the <see cref="Video"/> class.</summary>
35 /// <param name="parent">Parent instance.</param>
36 /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle"/></param>
37 public Video(Efl.Object parent
38 , System.String style = null) : base(efl_ui_video_class_get(), typeof(Video), parent)
40 if (Efl.Eo.Globals.ParamHelperCheck(style))
42 SetStyle(Efl.Eo.Globals.GetParamHelper(style));
45 FinishInstantiation();
48 /// <summary>Initializes a new instance of the <see cref="Video"/> class.
49 /// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
50 /// <param name="raw">The native pointer to be wrapped.</param>
51 protected Video(System.IntPtr raw) : base(raw)
55 /// <summary>Initializes a new instance of the <see cref="Video"/> class.
56 /// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
57 /// <param name="baseKlass">The pointer to the base native Eo class.</param>
58 /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
59 /// <param name="parent">The Efl.Object parent of this instance.</param>
60 protected Video(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
64 /// <summary>Verifies if the given object is equal to this one.</summary>
65 /// <param name="instance">The object to compare to.</param>
66 /// <returns>True if both objects point to the same native object.</returns>
67 public override bool Equals(object instance)
69 var other = instance as Efl.Object;
74 return this.NativeHandle == other.NativeHandle;
77 /// <summary>Gets the hash code for this object based on the native pointer it points to.</summary>
78 /// <returns>The value of the pointer, to be used as the hash code of this object.</returns>
79 public override int GetHashCode()
81 return this.NativeHandle.ToInt32();
84 /// <summary>Turns the native pointer into a string representation.</summary>
85 /// <returns>A string with the type and the native pointer for this object.</returns>
86 public override String ToString()
88 return $"{this.GetType().Name}@[{this.NativeHandle.ToInt32():x}]";
91 /// <summary>Set whether the object can remember the last played position.
92 /// Note: This API only serves as indication. System support is required.</summary>
93 /// <returns><c>true</c> when the object can remember the last position, <c>false</c> otherwise</returns>
94 virtual public bool GetRememberPosition() {
95 var _ret_var = Efl.Ui.Video.NativeMethods.efl_ui_video_remember_position_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
96 Eina.Error.RaiseIfUnhandledException();
99 /// <summary>Set whether the object can remember the last played position.
100 /// Note: This API only serves as indication. System support is required.</summary>
101 /// <param name="remember"><c>true</c> when the object can remember the last position, <c>false</c> otherwise</param>
102 virtual public void SetRememberPosition(bool remember) {
103 Efl.Ui.Video.NativeMethods.efl_ui_video_remember_position_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),remember);
104 Eina.Error.RaiseIfUnhandledException();
106 /// <summary>Get the underlying Emotion object.</summary>
107 /// <returns>The underlying Emotion object.</returns>
108 virtual public Efl.Canvas.Object GetEmotion() {
109 var _ret_var = Efl.Ui.Video.NativeMethods.efl_ui_video_emotion_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
110 Eina.Error.RaiseIfUnhandledException();
113 /// <summary>Get the title (for instance DVD title) from this emotion object.
114 /// This function is only useful when playing a DVD.
116 /// Note: Don't change or free the string returned by this function.</summary>
117 /// <returns>A string containing the title.</returns>
118 virtual public System.String GetTitle() {
119 var _ret_var = Efl.Ui.Video.NativeMethods.efl_ui_video_title_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
120 Eina.Error.RaiseIfUnhandledException();
123 /// <summary>Get the mmaped file from where an object will fetch the real data (it must be an <see cref="Eina.File"/>).
124 /// (Since EFL 1.22)</summary>
125 /// <returns>The handle to the <see cref="Eina.File"/> that will be used</returns>
126 virtual public Eina.File GetMmap() {
127 var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_mmap_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
128 Eina.Error.RaiseIfUnhandledException();
131 /// <summary>Set the mmaped file from where an object will fetch the real data (it must be an <see cref="Eina.File"/>).
132 /// If mmap is set during object construction, the object will automatically call <see cref="Efl.IFile.Load"/> during the finalize phase of construction.
133 /// (Since EFL 1.22)</summary>
134 /// <param name="f">The handle to the <see cref="Eina.File"/> that will be used</param>
135 /// <returns>0 on success, error code otherwise</returns>
136 virtual public Eina.Error SetMmap(Eina.File f) {
137 var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_mmap_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),f);
138 Eina.Error.RaiseIfUnhandledException();
141 /// <summary>Retrieve the file path from where an object is to fetch the data.
142 /// You must not modify the strings on the returned pointers.
143 /// (Since EFL 1.22)</summary>
144 /// <returns>The file path.</returns>
145 virtual public System.String GetFile() {
146 var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
147 Eina.Error.RaiseIfUnhandledException();
150 /// <summary>Set the file path from where an object will fetch the data.
151 /// If file is set during object construction, the object will automatically call <see cref="Efl.IFile.Load"/> during the finalize phase of construction.
152 /// (Since EFL 1.22)</summary>
153 /// <param name="file">The file path.</param>
154 /// <returns>0 on success, error code otherwise</returns>
155 virtual public Eina.Error SetFile(System.String file) {
156 var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),file);
157 Eina.Error.RaiseIfUnhandledException();
160 /// <summary>Get the previously-set key which corresponds to the target data within a file.
161 /// Some filetypes can contain multiple data streams which are indexed by a key. Use this property for such cases (See for example <see cref="Efl.Ui.Image"/> or <see cref="Efl.Ui.Layout"/>).
163 /// You must not modify the strings on the returned pointers.
164 /// (Since EFL 1.22)</summary>
165 /// <returns>The group that the data belongs to. See the class documentation for particular implementations of this interface to see how this property is used.</returns>
166 virtual public System.String GetKey() {
167 var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_key_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
168 Eina.Error.RaiseIfUnhandledException();
171 /// <summary>Set the key which corresponds to the target data within a file.
172 /// Some filetypes can contain multiple data streams which are indexed by a key. Use this property for such cases.
173 /// (Since EFL 1.22)</summary>
174 /// <param name="key">The group that the data belongs to. See the class documentation for particular implementations of this interface to see how this property is used.</param>
175 virtual public void SetKey(System.String key) {
176 Efl.IFileConcrete.NativeMethods.efl_file_key_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),key);
177 Eina.Error.RaiseIfUnhandledException();
179 /// <summary>Get the load state of the object.
180 /// (Since EFL 1.22)</summary>
181 /// <returns><c>true</c> if the object is loaded, <c>false</c> otherwise.</returns>
182 virtual public bool GetLoaded() {
183 var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_loaded_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
184 Eina.Error.RaiseIfUnhandledException();
187 /// <summary>Perform all necessary operations to open and load file data into the object using the <see cref="Efl.IFile.File"/> (or <see cref="Efl.IFile.Mmap"/>) and <see cref="Efl.IFile.Key"/> properties.
188 /// In the case where <see cref="Efl.IFile.SetFile"/> has been called on an object, this will internally open the file and call <see cref="Efl.IFile.SetMmap"/> on the object using the opened file handle.
190 /// Calling <see cref="Efl.IFile.Load"/> on an object which has already performed file operations based on the currently set properties will have no effect.
191 /// (Since EFL 1.22)</summary>
192 /// <returns>0 on success, error code otherwise</returns>
193 virtual public Eina.Error Load() {
194 var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_load_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
195 Eina.Error.RaiseIfUnhandledException();
198 /// <summary>Perform all necessary operations to unload file data from the object.
199 /// In the case where <see cref="Efl.IFile.SetMmap"/> has been externally called on an object, the file handle stored in the object will be preserved.
201 /// Calling <see cref="Efl.IFile.Unload"/> on an object which is not currently loaded will have no effect.
202 /// (Since EFL 1.22)</summary>
203 virtual public void Unload() {
204 Efl.IFileConcrete.NativeMethods.efl_file_unload_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
205 Eina.Error.RaiseIfUnhandledException();
207 /// <summary>Whether or not the playable can be played.</summary>
208 /// <returns><c>true</c> if the object have playable data, <c>false</c> otherwise</returns>
209 virtual public bool GetPlayable() {
210 var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_playable_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
211 Eina.Error.RaiseIfUnhandledException();
214 /// <summary>Get play/pause state of the media file.</summary>
215 /// <returns><c>true</c> if playing, <c>false</c> otherwise.</returns>
216 virtual public bool GetPlay() {
217 var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_play_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
218 Eina.Error.RaiseIfUnhandledException();
221 /// <summary>Set play/pause state of the media file.
222 /// This functions sets the currently playing status of the video. Using this function to play or pause the video doesn't alter it's current position.</summary>
223 /// <param name="play"><c>true</c> if playing, <c>false</c> otherwise.</param>
224 virtual public void SetPlay(bool play) {
225 Efl.IPlayerConcrete.NativeMethods.efl_player_play_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),play);
226 Eina.Error.RaiseIfUnhandledException();
228 /// <summary>Get the position in the media file.
229 /// The position is returned as the number of seconds since the beginning of the media file.</summary>
230 /// <returns>The position (in seconds).</returns>
231 virtual public double GetPos() {
232 var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_pos_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
233 Eina.Error.RaiseIfUnhandledException();
236 /// <summary>Set the position in the media file.
237 /// This functions sets the current position of the media file to "sec", this only works on seekable streams. Setting the position doesn't change the playing state of the media file.</summary>
238 /// <param name="sec">The position (in seconds).</param>
239 virtual public void SetPos(double sec) {
240 Efl.IPlayerConcrete.NativeMethods.efl_player_pos_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),sec);
241 Eina.Error.RaiseIfUnhandledException();
243 /// <summary>Get how much of the file has been played.
244 /// This function gets the progress in playing the file, the return value is in the [0, 1] range.</summary>
245 /// <returns>The progress within the [0, 1] range.</returns>
246 virtual public double GetProgress() {
247 var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_progress_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
248 Eina.Error.RaiseIfUnhandledException();
251 /// <summary>Control the play speed of the media file.
252 /// This function control the speed with which the media file will be played. 1.0 represents the normal speed, 2 double speed, 0.5 half speed and so on.</summary>
253 /// <returns>The play speed in the [0, infinity) range.</returns>
254 virtual public double GetPlaySpeed() {
255 var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_play_speed_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
256 Eina.Error.RaiseIfUnhandledException();
259 /// <summary>Control the play speed of the media file.
260 /// This function control the speed with which the media file will be played. 1.0 represents the normal speed, 2 double speed, 0.5 half speed and so on.</summary>
261 /// <param name="speed">The play speed in the [0, infinity) range.</param>
262 virtual public void SetPlaySpeed(double speed) {
263 Efl.IPlayerConcrete.NativeMethods.efl_player_play_speed_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),speed);
264 Eina.Error.RaiseIfUnhandledException();
266 /// <summary>Control the audio volume.
267 /// Controls the audio volume of the stream being played. This has nothing to do with the system volume. This volume will be multiplied by the system volume. e.g.: if the current volume level is 0.5, and the system volume is 50%, it will be 0.5 * 0.5 = 0.25.</summary>
268 /// <returns>The volume level</returns>
269 virtual public double GetVolume() {
270 var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_volume_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
271 Eina.Error.RaiseIfUnhandledException();
274 /// <summary>Control the audio volume.
275 /// Controls the audio volume of the stream being played. This has nothing to do with the system volume. This volume will be multiplied by the system volume. e.g.: if the current volume level is 0.5, and the system volume is 50%, it will be 0.5 * 0.5 = 0.25.</summary>
276 /// <param name="volume">The volume level</param>
277 virtual public void SetVolume(double volume) {
278 Efl.IPlayerConcrete.NativeMethods.efl_player_volume_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),volume);
279 Eina.Error.RaiseIfUnhandledException();
281 /// <summary>This property controls the audio mute state.</summary>
282 /// <returns>The mute state. <c>true</c> or <c>false</c>.</returns>
283 virtual public bool GetMute() {
284 var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_mute_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
285 Eina.Error.RaiseIfUnhandledException();
288 /// <summary>This property controls the audio mute state.</summary>
289 /// <param name="mute">The mute state. <c>true</c> or <c>false</c>.</param>
290 virtual public void SetMute(bool mute) {
291 Efl.IPlayerConcrete.NativeMethods.efl_player_mute_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),mute);
292 Eina.Error.RaiseIfUnhandledException();
294 /// <summary>Get the length of play for the media file.</summary>
295 /// <returns>The length of the stream in seconds.</returns>
296 virtual public double GetLength() {
297 var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_length_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
298 Eina.Error.RaiseIfUnhandledException();
301 /// <summary>Get whether the media file is seekable.</summary>
302 /// <returns><c>true</c> if seekable.</returns>
303 virtual public bool GetSeekable() {
304 var _ret_var = Efl.IPlayerConcrete.NativeMethods.efl_player_seekable_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
305 Eina.Error.RaiseIfUnhandledException();
308 /// <summary>Start a playing playable object.</summary>
309 virtual public void Start() {
310 Efl.IPlayerConcrete.NativeMethods.efl_player_start_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
311 Eina.Error.RaiseIfUnhandledException();
313 /// <summary>Stop playable object.</summary>
314 virtual public void Stop() {
315 Efl.IPlayerConcrete.NativeMethods.efl_player_stop_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
316 Eina.Error.RaiseIfUnhandledException();
318 /// <summary>Set whether the object can remember the last played position.
319 /// Note: This API only serves as indication. System support is required.</summary>
320 /// <value><c>true</c> when the object can remember the last position, <c>false</c> otherwise</value>
321 public bool RememberPosition {
322 get { return GetRememberPosition(); }
323 set { SetRememberPosition(value); }
325 /// <summary>Get the underlying Emotion object.</summary>
326 /// <value>The underlying Emotion object.</value>
327 public Efl.Canvas.Object Emotion {
328 get { return GetEmotion(); }
330 /// <summary>Get the title (for instance DVD title) from this emotion object.
331 /// This function is only useful when playing a DVD.
333 /// Note: Don't change or free the string returned by this function.</summary>
334 /// <value>A string containing the title.</value>
335 public System.String Title {
336 get { return GetTitle(); }
338 /// <summary>Get the mmaped file from where an object will fetch the real data (it must be an <see cref="Eina.File"/>).
339 /// (Since EFL 1.22)</summary>
340 /// <value>The handle to the <see cref="Eina.File"/> that will be used</value>
341 public Eina.File Mmap {
342 get { return GetMmap(); }
343 set { SetMmap(value); }
345 /// <summary>Retrieve the file path from where an object is to fetch the data.
346 /// You must not modify the strings on the returned pointers.
347 /// (Since EFL 1.22)</summary>
348 /// <value>The file path.</value>
349 public System.String File {
350 get { return GetFile(); }
351 set { SetFile(value); }
353 /// <summary>Get the previously-set key which corresponds to the target data within a file.
354 /// Some filetypes can contain multiple data streams which are indexed by a key. Use this property for such cases (See for example <see cref="Efl.Ui.Image"/> or <see cref="Efl.Ui.Layout"/>).
356 /// You must not modify the strings on the returned pointers.
357 /// (Since EFL 1.22)</summary>
358 /// <value>The group that the data belongs to. See the class documentation for particular implementations of this interface to see how this property is used.</value>
359 public System.String Key {
360 get { return GetKey(); }
361 set { SetKey(value); }
363 /// <summary>Get the load state of the object.
364 /// (Since EFL 1.22)</summary>
365 /// <value><c>true</c> if the object is loaded, <c>false</c> otherwise.</value>
367 get { return GetLoaded(); }
369 /// <summary>Whether or not the playable can be played.</summary>
370 /// <value><c>true</c> if the object have playable data, <c>false</c> otherwise</value>
371 public bool Playable {
372 get { return GetPlayable(); }
374 /// <summary>Get play/pause state of the media file.</summary>
375 /// <value><c>true</c> if playing, <c>false</c> otherwise.</value>
377 get { return GetPlay(); }
378 set { SetPlay(value); }
380 /// <summary>Get the position in the media file.
381 /// The position is returned as the number of seconds since the beginning of the media file.</summary>
382 /// <value>The position (in seconds).</value>
384 get { return GetPos(); }
385 set { SetPos(value); }
387 /// <summary>Get how much of the file has been played.
388 /// This function gets the progress in playing the file, the return value is in the [0, 1] range.</summary>
389 /// <value>The progress within the [0, 1] range.</value>
390 public double Progress {
391 get { return GetProgress(); }
393 /// <summary>Control the play speed of the media file.
394 /// This function control the speed with which the media file will be played. 1.0 represents the normal speed, 2 double speed, 0.5 half speed and so on.</summary>
395 /// <value>The play speed in the [0, infinity) range.</value>
396 public double PlaySpeed {
397 get { return GetPlaySpeed(); }
398 set { SetPlaySpeed(value); }
400 /// <summary>Control the audio volume.
401 /// Controls the audio volume of the stream being played. This has nothing to do with the system volume. This volume will be multiplied by the system volume. e.g.: if the current volume level is 0.5, and the system volume is 50%, it will be 0.5 * 0.5 = 0.25.</summary>
402 /// <value>The volume level</value>
403 public double Volume {
404 get { return GetVolume(); }
405 set { SetVolume(value); }
407 /// <summary>This property controls the audio mute state.</summary>
408 /// <value>The mute state. <c>true</c> or <c>false</c>.</value>
410 get { return GetMute(); }
411 set { SetMute(value); }
413 /// <summary>Get the length of play for the media file.</summary>
414 /// <value>The length of the stream in seconds.</value>
415 public double Length {
416 get { return GetLength(); }
418 /// <summary>Get whether the media file is seekable.</summary>
419 /// <value><c>true</c> if seekable.</value>
420 public bool Seekable {
421 get { return GetSeekable(); }
423 private static IntPtr GetEflClassStatic()
425 return Efl.Ui.Video.efl_ui_video_class_get();
427 /// <summary>Wrapper for native methods and virtual method delegates.
428 /// For internal use by generated code only.</summary>
429 public new class NativeMethods : Efl.Ui.LayoutBase.NativeMethods
431 private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Elementary);
432 /// <summary>Gets the list of Eo operations to override.</summary>
433 /// <returns>The list of Eo operations to be overload.</returns>
434 public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
436 var descs = new System.Collections.Generic.List<Efl_Op_Description>();
437 var methods = Efl.Eo.Globals.GetUserMethods(type);
439 if (efl_ui_video_remember_position_get_static_delegate == null)
441 efl_ui_video_remember_position_get_static_delegate = new efl_ui_video_remember_position_get_delegate(remember_position_get);
444 if (methods.FirstOrDefault(m => m.Name == "GetRememberPosition") != null)
446 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_video_remember_position_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_video_remember_position_get_static_delegate) });
449 if (efl_ui_video_remember_position_set_static_delegate == null)
451 efl_ui_video_remember_position_set_static_delegate = new efl_ui_video_remember_position_set_delegate(remember_position_set);
454 if (methods.FirstOrDefault(m => m.Name == "SetRememberPosition") != null)
456 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_video_remember_position_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_video_remember_position_set_static_delegate) });
459 if (efl_ui_video_emotion_get_static_delegate == null)
461 efl_ui_video_emotion_get_static_delegate = new efl_ui_video_emotion_get_delegate(emotion_get);
464 if (methods.FirstOrDefault(m => m.Name == "GetEmotion") != null)
466 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_video_emotion_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_video_emotion_get_static_delegate) });
469 if (efl_ui_video_title_get_static_delegate == null)
471 efl_ui_video_title_get_static_delegate = new efl_ui_video_title_get_delegate(title_get);
474 if (methods.FirstOrDefault(m => m.Name == "GetTitle") != null)
476 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_video_title_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_video_title_get_static_delegate) });
479 if (efl_file_mmap_get_static_delegate == null)
481 efl_file_mmap_get_static_delegate = new efl_file_mmap_get_delegate(mmap_get);
484 if (methods.FirstOrDefault(m => m.Name == "GetMmap") != null)
486 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_file_mmap_get"), func = Marshal.GetFunctionPointerForDelegate(efl_file_mmap_get_static_delegate) });
489 if (efl_file_mmap_set_static_delegate == null)
491 efl_file_mmap_set_static_delegate = new efl_file_mmap_set_delegate(mmap_set);
494 if (methods.FirstOrDefault(m => m.Name == "SetMmap") != null)
496 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_file_mmap_set"), func = Marshal.GetFunctionPointerForDelegate(efl_file_mmap_set_static_delegate) });
499 if (efl_file_get_static_delegate == null)
501 efl_file_get_static_delegate = new efl_file_get_delegate(file_get);
504 if (methods.FirstOrDefault(m => m.Name == "GetFile") != null)
506 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_file_get"), func = Marshal.GetFunctionPointerForDelegate(efl_file_get_static_delegate) });
509 if (efl_file_set_static_delegate == null)
511 efl_file_set_static_delegate = new efl_file_set_delegate(file_set);
514 if (methods.FirstOrDefault(m => m.Name == "SetFile") != null)
516 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_file_set"), func = Marshal.GetFunctionPointerForDelegate(efl_file_set_static_delegate) });
519 if (efl_file_key_get_static_delegate == null)
521 efl_file_key_get_static_delegate = new efl_file_key_get_delegate(key_get);
524 if (methods.FirstOrDefault(m => m.Name == "GetKey") != null)
526 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_file_key_get"), func = Marshal.GetFunctionPointerForDelegate(efl_file_key_get_static_delegate) });
529 if (efl_file_key_set_static_delegate == null)
531 efl_file_key_set_static_delegate = new efl_file_key_set_delegate(key_set);
534 if (methods.FirstOrDefault(m => m.Name == "SetKey") != null)
536 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_file_key_set"), func = Marshal.GetFunctionPointerForDelegate(efl_file_key_set_static_delegate) });
539 if (efl_file_loaded_get_static_delegate == null)
541 efl_file_loaded_get_static_delegate = new efl_file_loaded_get_delegate(loaded_get);
544 if (methods.FirstOrDefault(m => m.Name == "GetLoaded") != null)
546 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_file_loaded_get"), func = Marshal.GetFunctionPointerForDelegate(efl_file_loaded_get_static_delegate) });
549 if (efl_file_load_static_delegate == null)
551 efl_file_load_static_delegate = new efl_file_load_delegate(load);
554 if (methods.FirstOrDefault(m => m.Name == "Load") != null)
556 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_file_load"), func = Marshal.GetFunctionPointerForDelegate(efl_file_load_static_delegate) });
559 if (efl_file_unload_static_delegate == null)
561 efl_file_unload_static_delegate = new efl_file_unload_delegate(unload);
564 if (methods.FirstOrDefault(m => m.Name == "Unload") != null)
566 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_file_unload"), func = Marshal.GetFunctionPointerForDelegate(efl_file_unload_static_delegate) });
569 if (efl_player_playable_get_static_delegate == null)
571 efl_player_playable_get_static_delegate = new efl_player_playable_get_delegate(playable_get);
574 if (methods.FirstOrDefault(m => m.Name == "GetPlayable") != null)
576 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_player_playable_get"), func = Marshal.GetFunctionPointerForDelegate(efl_player_playable_get_static_delegate) });
579 if (efl_player_play_get_static_delegate == null)
581 efl_player_play_get_static_delegate = new efl_player_play_get_delegate(play_get);
584 if (methods.FirstOrDefault(m => m.Name == "GetPlay") != null)
586 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_player_play_get"), func = Marshal.GetFunctionPointerForDelegate(efl_player_play_get_static_delegate) });
589 if (efl_player_play_set_static_delegate == null)
591 efl_player_play_set_static_delegate = new efl_player_play_set_delegate(play_set);
594 if (methods.FirstOrDefault(m => m.Name == "SetPlay") != null)
596 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_player_play_set"), func = Marshal.GetFunctionPointerForDelegate(efl_player_play_set_static_delegate) });
599 if (efl_player_pos_get_static_delegate == null)
601 efl_player_pos_get_static_delegate = new efl_player_pos_get_delegate(pos_get);
604 if (methods.FirstOrDefault(m => m.Name == "GetPos") != null)
606 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_player_pos_get"), func = Marshal.GetFunctionPointerForDelegate(efl_player_pos_get_static_delegate) });
609 if (efl_player_pos_set_static_delegate == null)
611 efl_player_pos_set_static_delegate = new efl_player_pos_set_delegate(pos_set);
614 if (methods.FirstOrDefault(m => m.Name == "SetPos") != null)
616 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_player_pos_set"), func = Marshal.GetFunctionPointerForDelegate(efl_player_pos_set_static_delegate) });
619 if (efl_player_progress_get_static_delegate == null)
621 efl_player_progress_get_static_delegate = new efl_player_progress_get_delegate(progress_get);
624 if (methods.FirstOrDefault(m => m.Name == "GetProgress") != null)
626 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_player_progress_get"), func = Marshal.GetFunctionPointerForDelegate(efl_player_progress_get_static_delegate) });
629 if (efl_player_play_speed_get_static_delegate == null)
631 efl_player_play_speed_get_static_delegate = new efl_player_play_speed_get_delegate(play_speed_get);
634 if (methods.FirstOrDefault(m => m.Name == "GetPlaySpeed") != null)
636 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_player_play_speed_get"), func = Marshal.GetFunctionPointerForDelegate(efl_player_play_speed_get_static_delegate) });
639 if (efl_player_play_speed_set_static_delegate == null)
641 efl_player_play_speed_set_static_delegate = new efl_player_play_speed_set_delegate(play_speed_set);
644 if (methods.FirstOrDefault(m => m.Name == "SetPlaySpeed") != null)
646 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_player_play_speed_set"), func = Marshal.GetFunctionPointerForDelegate(efl_player_play_speed_set_static_delegate) });
649 if (efl_player_volume_get_static_delegate == null)
651 efl_player_volume_get_static_delegate = new efl_player_volume_get_delegate(volume_get);
654 if (methods.FirstOrDefault(m => m.Name == "GetVolume") != null)
656 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_player_volume_get"), func = Marshal.GetFunctionPointerForDelegate(efl_player_volume_get_static_delegate) });
659 if (efl_player_volume_set_static_delegate == null)
661 efl_player_volume_set_static_delegate = new efl_player_volume_set_delegate(volume_set);
664 if (methods.FirstOrDefault(m => m.Name == "SetVolume") != null)
666 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_player_volume_set"), func = Marshal.GetFunctionPointerForDelegate(efl_player_volume_set_static_delegate) });
669 if (efl_player_mute_get_static_delegate == null)
671 efl_player_mute_get_static_delegate = new efl_player_mute_get_delegate(mute_get);
674 if (methods.FirstOrDefault(m => m.Name == "GetMute") != null)
676 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_player_mute_get"), func = Marshal.GetFunctionPointerForDelegate(efl_player_mute_get_static_delegate) });
679 if (efl_player_mute_set_static_delegate == null)
681 efl_player_mute_set_static_delegate = new efl_player_mute_set_delegate(mute_set);
684 if (methods.FirstOrDefault(m => m.Name == "SetMute") != null)
686 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_player_mute_set"), func = Marshal.GetFunctionPointerForDelegate(efl_player_mute_set_static_delegate) });
689 if (efl_player_length_get_static_delegate == null)
691 efl_player_length_get_static_delegate = new efl_player_length_get_delegate(length_get);
694 if (methods.FirstOrDefault(m => m.Name == "GetLength") != null)
696 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_player_length_get"), func = Marshal.GetFunctionPointerForDelegate(efl_player_length_get_static_delegate) });
699 if (efl_player_seekable_get_static_delegate == null)
701 efl_player_seekable_get_static_delegate = new efl_player_seekable_get_delegate(seekable_get);
704 if (methods.FirstOrDefault(m => m.Name == "GetSeekable") != null)
706 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_player_seekable_get"), func = Marshal.GetFunctionPointerForDelegate(efl_player_seekable_get_static_delegate) });
709 if (efl_player_start_static_delegate == null)
711 efl_player_start_static_delegate = new efl_player_start_delegate(start);
714 if (methods.FirstOrDefault(m => m.Name == "Start") != null)
716 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_player_start"), func = Marshal.GetFunctionPointerForDelegate(efl_player_start_static_delegate) });
719 if (efl_player_stop_static_delegate == null)
721 efl_player_stop_static_delegate = new efl_player_stop_delegate(stop);
724 if (methods.FirstOrDefault(m => m.Name == "Stop") != null)
726 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_player_stop"), func = Marshal.GetFunctionPointerForDelegate(efl_player_stop_static_delegate) });
729 descs.AddRange(base.GetEoOps(type));
732 /// <summary>Returns the Eo class for the native methods of this class.</summary>
733 /// <returns>The native class pointer.</returns>
734 public override IntPtr GetEflClass()
736 return Efl.Ui.Video.efl_ui_video_class_get();
739 #pragma warning disable CA1707, SA1300, SA1600
741 [return: MarshalAs(UnmanagedType.U1)]
742 private delegate bool efl_ui_video_remember_position_get_delegate(System.IntPtr obj, System.IntPtr pd);
744 [return: MarshalAs(UnmanagedType.U1)]
745 public delegate bool efl_ui_video_remember_position_get_api_delegate(System.IntPtr obj);
747 public static Efl.Eo.FunctionWrapper<efl_ui_video_remember_position_get_api_delegate> efl_ui_video_remember_position_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_video_remember_position_get_api_delegate>(Module, "efl_ui_video_remember_position_get");
749 private static bool remember_position_get(System.IntPtr obj, System.IntPtr pd)
751 Eina.Log.Debug("function efl_ui_video_remember_position_get was called");
752 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
755 bool _ret_var = default(bool);
758 _ret_var = ((Video)wrapper).GetRememberPosition();
762 Eina.Log.Warning($"Callback error: {e.ToString()}");
763 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
771 return efl_ui_video_remember_position_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
775 private static efl_ui_video_remember_position_get_delegate efl_ui_video_remember_position_get_static_delegate;
778 private delegate void efl_ui_video_remember_position_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool remember);
781 public delegate void efl_ui_video_remember_position_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool remember);
783 public static Efl.Eo.FunctionWrapper<efl_ui_video_remember_position_set_api_delegate> efl_ui_video_remember_position_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_video_remember_position_set_api_delegate>(Module, "efl_ui_video_remember_position_set");
785 private static void remember_position_set(System.IntPtr obj, System.IntPtr pd, bool remember)
787 Eina.Log.Debug("function efl_ui_video_remember_position_set was called");
788 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
794 ((Video)wrapper).SetRememberPosition(remember);
798 Eina.Log.Warning($"Callback error: {e.ToString()}");
799 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
806 efl_ui_video_remember_position_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), remember);
810 private static efl_ui_video_remember_position_set_delegate efl_ui_video_remember_position_set_static_delegate;
812 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
813 private delegate Efl.Canvas.Object efl_ui_video_emotion_get_delegate(System.IntPtr obj, System.IntPtr pd);
815 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
816 public delegate Efl.Canvas.Object efl_ui_video_emotion_get_api_delegate(System.IntPtr obj);
818 public static Efl.Eo.FunctionWrapper<efl_ui_video_emotion_get_api_delegate> efl_ui_video_emotion_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_video_emotion_get_api_delegate>(Module, "efl_ui_video_emotion_get");
820 private static Efl.Canvas.Object emotion_get(System.IntPtr obj, System.IntPtr pd)
822 Eina.Log.Debug("function efl_ui_video_emotion_get was called");
823 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
826 Efl.Canvas.Object _ret_var = default(Efl.Canvas.Object);
829 _ret_var = ((Video)wrapper).GetEmotion();
833 Eina.Log.Warning($"Callback error: {e.ToString()}");
834 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
842 return efl_ui_video_emotion_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
846 private static efl_ui_video_emotion_get_delegate efl_ui_video_emotion_get_static_delegate;
848 [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
849 private delegate System.String efl_ui_video_title_get_delegate(System.IntPtr obj, System.IntPtr pd);
851 [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
852 public delegate System.String efl_ui_video_title_get_api_delegate(System.IntPtr obj);
854 public static Efl.Eo.FunctionWrapper<efl_ui_video_title_get_api_delegate> efl_ui_video_title_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_video_title_get_api_delegate>(Module, "efl_ui_video_title_get");
856 private static System.String title_get(System.IntPtr obj, System.IntPtr pd)
858 Eina.Log.Debug("function efl_ui_video_title_get was called");
859 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
862 System.String _ret_var = default(System.String);
865 _ret_var = ((Video)wrapper).GetTitle();
869 Eina.Log.Warning($"Callback error: {e.ToString()}");
870 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
878 return efl_ui_video_title_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
882 private static efl_ui_video_title_get_delegate efl_ui_video_title_get_static_delegate;
885 private delegate Eina.File efl_file_mmap_get_delegate(System.IntPtr obj, System.IntPtr pd);
888 public delegate Eina.File efl_file_mmap_get_api_delegate(System.IntPtr obj);
890 public static Efl.Eo.FunctionWrapper<efl_file_mmap_get_api_delegate> efl_file_mmap_get_ptr = new Efl.Eo.FunctionWrapper<efl_file_mmap_get_api_delegate>(Module, "efl_file_mmap_get");
892 private static Eina.File mmap_get(System.IntPtr obj, System.IntPtr pd)
894 Eina.Log.Debug("function efl_file_mmap_get was called");
895 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
898 Eina.File _ret_var = default(Eina.File);
901 _ret_var = ((Video)wrapper).GetMmap();
905 Eina.Log.Warning($"Callback error: {e.ToString()}");
906 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
914 return efl_file_mmap_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
918 private static efl_file_mmap_get_delegate efl_file_mmap_get_static_delegate;
921 private delegate Eina.Error efl_file_mmap_set_delegate(System.IntPtr obj, System.IntPtr pd, Eina.File f);
924 public delegate Eina.Error efl_file_mmap_set_api_delegate(System.IntPtr obj, Eina.File f);
926 public static Efl.Eo.FunctionWrapper<efl_file_mmap_set_api_delegate> efl_file_mmap_set_ptr = new Efl.Eo.FunctionWrapper<efl_file_mmap_set_api_delegate>(Module, "efl_file_mmap_set");
928 private static Eina.Error mmap_set(System.IntPtr obj, System.IntPtr pd, Eina.File f)
930 Eina.Log.Debug("function efl_file_mmap_set was called");
931 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
934 Eina.Error _ret_var = default(Eina.Error);
937 _ret_var = ((Video)wrapper).SetMmap(f);
941 Eina.Log.Warning($"Callback error: {e.ToString()}");
942 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
950 return efl_file_mmap_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), f);
954 private static efl_file_mmap_set_delegate efl_file_mmap_set_static_delegate;
956 [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
957 private delegate System.String efl_file_get_delegate(System.IntPtr obj, System.IntPtr pd);
959 [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
960 public delegate System.String efl_file_get_api_delegate(System.IntPtr obj);
962 public static Efl.Eo.FunctionWrapper<efl_file_get_api_delegate> efl_file_get_ptr = new Efl.Eo.FunctionWrapper<efl_file_get_api_delegate>(Module, "efl_file_get");
964 private static System.String file_get(System.IntPtr obj, System.IntPtr pd)
966 Eina.Log.Debug("function efl_file_get was called");
967 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
970 System.String _ret_var = default(System.String);
973 _ret_var = ((Video)wrapper).GetFile();
977 Eina.Log.Warning($"Callback error: {e.ToString()}");
978 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
986 return efl_file_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
990 private static efl_file_get_delegate efl_file_get_static_delegate;
993 private delegate Eina.Error efl_file_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String file);
996 public delegate Eina.Error efl_file_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String file);
998 public static Efl.Eo.FunctionWrapper<efl_file_set_api_delegate> efl_file_set_ptr = new Efl.Eo.FunctionWrapper<efl_file_set_api_delegate>(Module, "efl_file_set");
1000 private static Eina.Error file_set(System.IntPtr obj, System.IntPtr pd, System.String file)
1002 Eina.Log.Debug("function efl_file_set was called");
1003 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1004 if (wrapper != null)
1006 Eina.Error _ret_var = default(Eina.Error);
1009 _ret_var = ((Video)wrapper).SetFile(file);
1013 Eina.Log.Warning($"Callback error: {e.ToString()}");
1014 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1022 return efl_file_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), file);
1026 private static efl_file_set_delegate efl_file_set_static_delegate;
1028 [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
1029 private delegate System.String efl_file_key_get_delegate(System.IntPtr obj, System.IntPtr pd);
1031 [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
1032 public delegate System.String efl_file_key_get_api_delegate(System.IntPtr obj);
1034 public static Efl.Eo.FunctionWrapper<efl_file_key_get_api_delegate> efl_file_key_get_ptr = new Efl.Eo.FunctionWrapper<efl_file_key_get_api_delegate>(Module, "efl_file_key_get");
1036 private static System.String key_get(System.IntPtr obj, System.IntPtr pd)
1038 Eina.Log.Debug("function efl_file_key_get was called");
1039 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1040 if (wrapper != null)
1042 System.String _ret_var = default(System.String);
1045 _ret_var = ((Video)wrapper).GetKey();
1049 Eina.Log.Warning($"Callback error: {e.ToString()}");
1050 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1058 return efl_file_key_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1062 private static efl_file_key_get_delegate efl_file_key_get_static_delegate;
1065 private delegate void efl_file_key_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String key);
1068 public delegate void efl_file_key_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String key);
1070 public static Efl.Eo.FunctionWrapper<efl_file_key_set_api_delegate> efl_file_key_set_ptr = new Efl.Eo.FunctionWrapper<efl_file_key_set_api_delegate>(Module, "efl_file_key_set");
1072 private static void key_set(System.IntPtr obj, System.IntPtr pd, System.String key)
1074 Eina.Log.Debug("function efl_file_key_set was called");
1075 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1076 if (wrapper != null)
1081 ((Video)wrapper).SetKey(key);
1085 Eina.Log.Warning($"Callback error: {e.ToString()}");
1086 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1093 efl_file_key_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), key);
1097 private static efl_file_key_set_delegate efl_file_key_set_static_delegate;
1099 [return: MarshalAs(UnmanagedType.U1)]
1100 private delegate bool efl_file_loaded_get_delegate(System.IntPtr obj, System.IntPtr pd);
1102 [return: MarshalAs(UnmanagedType.U1)]
1103 public delegate bool efl_file_loaded_get_api_delegate(System.IntPtr obj);
1105 public static Efl.Eo.FunctionWrapper<efl_file_loaded_get_api_delegate> efl_file_loaded_get_ptr = new Efl.Eo.FunctionWrapper<efl_file_loaded_get_api_delegate>(Module, "efl_file_loaded_get");
1107 private static bool loaded_get(System.IntPtr obj, System.IntPtr pd)
1109 Eina.Log.Debug("function efl_file_loaded_get was called");
1110 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1111 if (wrapper != null)
1113 bool _ret_var = default(bool);
1116 _ret_var = ((Video)wrapper).GetLoaded();
1120 Eina.Log.Warning($"Callback error: {e.ToString()}");
1121 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1129 return efl_file_loaded_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1133 private static efl_file_loaded_get_delegate efl_file_loaded_get_static_delegate;
1136 private delegate Eina.Error efl_file_load_delegate(System.IntPtr obj, System.IntPtr pd);
1139 public delegate Eina.Error efl_file_load_api_delegate(System.IntPtr obj);
1141 public static Efl.Eo.FunctionWrapper<efl_file_load_api_delegate> efl_file_load_ptr = new Efl.Eo.FunctionWrapper<efl_file_load_api_delegate>(Module, "efl_file_load");
1143 private static Eina.Error load(System.IntPtr obj, System.IntPtr pd)
1145 Eina.Log.Debug("function efl_file_load was called");
1146 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1147 if (wrapper != null)
1149 Eina.Error _ret_var = default(Eina.Error);
1152 _ret_var = ((Video)wrapper).Load();
1156 Eina.Log.Warning($"Callback error: {e.ToString()}");
1157 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1165 return efl_file_load_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1169 private static efl_file_load_delegate efl_file_load_static_delegate;
1172 private delegate void efl_file_unload_delegate(System.IntPtr obj, System.IntPtr pd);
1175 public delegate void efl_file_unload_api_delegate(System.IntPtr obj);
1177 public static Efl.Eo.FunctionWrapper<efl_file_unload_api_delegate> efl_file_unload_ptr = new Efl.Eo.FunctionWrapper<efl_file_unload_api_delegate>(Module, "efl_file_unload");
1179 private static void unload(System.IntPtr obj, System.IntPtr pd)
1181 Eina.Log.Debug("function efl_file_unload was called");
1182 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1183 if (wrapper != null)
1188 ((Video)wrapper).Unload();
1192 Eina.Log.Warning($"Callback error: {e.ToString()}");
1193 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1200 efl_file_unload_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1204 private static efl_file_unload_delegate efl_file_unload_static_delegate;
1206 [return: MarshalAs(UnmanagedType.U1)]
1207 private delegate bool efl_player_playable_get_delegate(System.IntPtr obj, System.IntPtr pd);
1209 [return: MarshalAs(UnmanagedType.U1)]
1210 public delegate bool efl_player_playable_get_api_delegate(System.IntPtr obj);
1212 public static Efl.Eo.FunctionWrapper<efl_player_playable_get_api_delegate> efl_player_playable_get_ptr = new Efl.Eo.FunctionWrapper<efl_player_playable_get_api_delegate>(Module, "efl_player_playable_get");
1214 private static bool playable_get(System.IntPtr obj, System.IntPtr pd)
1216 Eina.Log.Debug("function efl_player_playable_get was called");
1217 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1218 if (wrapper != null)
1220 bool _ret_var = default(bool);
1223 _ret_var = ((Video)wrapper).GetPlayable();
1227 Eina.Log.Warning($"Callback error: {e.ToString()}");
1228 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1236 return efl_player_playable_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1240 private static efl_player_playable_get_delegate efl_player_playable_get_static_delegate;
1242 [return: MarshalAs(UnmanagedType.U1)]
1243 private delegate bool efl_player_play_get_delegate(System.IntPtr obj, System.IntPtr pd);
1245 [return: MarshalAs(UnmanagedType.U1)]
1246 public delegate bool efl_player_play_get_api_delegate(System.IntPtr obj);
1248 public static Efl.Eo.FunctionWrapper<efl_player_play_get_api_delegate> efl_player_play_get_ptr = new Efl.Eo.FunctionWrapper<efl_player_play_get_api_delegate>(Module, "efl_player_play_get");
1250 private static bool play_get(System.IntPtr obj, System.IntPtr pd)
1252 Eina.Log.Debug("function efl_player_play_get was called");
1253 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1254 if (wrapper != null)
1256 bool _ret_var = default(bool);
1259 _ret_var = ((Video)wrapper).GetPlay();
1263 Eina.Log.Warning($"Callback error: {e.ToString()}");
1264 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1272 return efl_player_play_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1276 private static efl_player_play_get_delegate efl_player_play_get_static_delegate;
1279 private delegate void efl_player_play_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool play);
1282 public delegate void efl_player_play_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool play);
1284 public static Efl.Eo.FunctionWrapper<efl_player_play_set_api_delegate> efl_player_play_set_ptr = new Efl.Eo.FunctionWrapper<efl_player_play_set_api_delegate>(Module, "efl_player_play_set");
1286 private static void play_set(System.IntPtr obj, System.IntPtr pd, bool play)
1288 Eina.Log.Debug("function efl_player_play_set was called");
1289 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1290 if (wrapper != null)
1295 ((Video)wrapper).SetPlay(play);
1299 Eina.Log.Warning($"Callback error: {e.ToString()}");
1300 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1307 efl_player_play_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), play);
1311 private static efl_player_play_set_delegate efl_player_play_set_static_delegate;
1314 private delegate double efl_player_pos_get_delegate(System.IntPtr obj, System.IntPtr pd);
1317 public delegate double efl_player_pos_get_api_delegate(System.IntPtr obj);
1319 public static Efl.Eo.FunctionWrapper<efl_player_pos_get_api_delegate> efl_player_pos_get_ptr = new Efl.Eo.FunctionWrapper<efl_player_pos_get_api_delegate>(Module, "efl_player_pos_get");
1321 private static double pos_get(System.IntPtr obj, System.IntPtr pd)
1323 Eina.Log.Debug("function efl_player_pos_get was called");
1324 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1325 if (wrapper != null)
1327 double _ret_var = default(double);
1330 _ret_var = ((Video)wrapper).GetPos();
1334 Eina.Log.Warning($"Callback error: {e.ToString()}");
1335 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1343 return efl_player_pos_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1347 private static efl_player_pos_get_delegate efl_player_pos_get_static_delegate;
1350 private delegate void efl_player_pos_set_delegate(System.IntPtr obj, System.IntPtr pd, double sec);
1353 public delegate void efl_player_pos_set_api_delegate(System.IntPtr obj, double sec);
1355 public static Efl.Eo.FunctionWrapper<efl_player_pos_set_api_delegate> efl_player_pos_set_ptr = new Efl.Eo.FunctionWrapper<efl_player_pos_set_api_delegate>(Module, "efl_player_pos_set");
1357 private static void pos_set(System.IntPtr obj, System.IntPtr pd, double sec)
1359 Eina.Log.Debug("function efl_player_pos_set was called");
1360 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1361 if (wrapper != null)
1366 ((Video)wrapper).SetPos(sec);
1370 Eina.Log.Warning($"Callback error: {e.ToString()}");
1371 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1378 efl_player_pos_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), sec);
1382 private static efl_player_pos_set_delegate efl_player_pos_set_static_delegate;
1385 private delegate double efl_player_progress_get_delegate(System.IntPtr obj, System.IntPtr pd);
1388 public delegate double efl_player_progress_get_api_delegate(System.IntPtr obj);
1390 public static Efl.Eo.FunctionWrapper<efl_player_progress_get_api_delegate> efl_player_progress_get_ptr = new Efl.Eo.FunctionWrapper<efl_player_progress_get_api_delegate>(Module, "efl_player_progress_get");
1392 private static double progress_get(System.IntPtr obj, System.IntPtr pd)
1394 Eina.Log.Debug("function efl_player_progress_get was called");
1395 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1396 if (wrapper != null)
1398 double _ret_var = default(double);
1401 _ret_var = ((Video)wrapper).GetProgress();
1405 Eina.Log.Warning($"Callback error: {e.ToString()}");
1406 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1414 return efl_player_progress_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1418 private static efl_player_progress_get_delegate efl_player_progress_get_static_delegate;
1421 private delegate double efl_player_play_speed_get_delegate(System.IntPtr obj, System.IntPtr pd);
1424 public delegate double efl_player_play_speed_get_api_delegate(System.IntPtr obj);
1426 public static Efl.Eo.FunctionWrapper<efl_player_play_speed_get_api_delegate> efl_player_play_speed_get_ptr = new Efl.Eo.FunctionWrapper<efl_player_play_speed_get_api_delegate>(Module, "efl_player_play_speed_get");
1428 private static double play_speed_get(System.IntPtr obj, System.IntPtr pd)
1430 Eina.Log.Debug("function efl_player_play_speed_get was called");
1431 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1432 if (wrapper != null)
1434 double _ret_var = default(double);
1437 _ret_var = ((Video)wrapper).GetPlaySpeed();
1441 Eina.Log.Warning($"Callback error: {e.ToString()}");
1442 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1450 return efl_player_play_speed_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1454 private static efl_player_play_speed_get_delegate efl_player_play_speed_get_static_delegate;
1457 private delegate void efl_player_play_speed_set_delegate(System.IntPtr obj, System.IntPtr pd, double speed);
1460 public delegate void efl_player_play_speed_set_api_delegate(System.IntPtr obj, double speed);
1462 public static Efl.Eo.FunctionWrapper<efl_player_play_speed_set_api_delegate> efl_player_play_speed_set_ptr = new Efl.Eo.FunctionWrapper<efl_player_play_speed_set_api_delegate>(Module, "efl_player_play_speed_set");
1464 private static void play_speed_set(System.IntPtr obj, System.IntPtr pd, double speed)
1466 Eina.Log.Debug("function efl_player_play_speed_set was called");
1467 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1468 if (wrapper != null)
1473 ((Video)wrapper).SetPlaySpeed(speed);
1477 Eina.Log.Warning($"Callback error: {e.ToString()}");
1478 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1485 efl_player_play_speed_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), speed);
1489 private static efl_player_play_speed_set_delegate efl_player_play_speed_set_static_delegate;
1492 private delegate double efl_player_volume_get_delegate(System.IntPtr obj, System.IntPtr pd);
1495 public delegate double efl_player_volume_get_api_delegate(System.IntPtr obj);
1497 public static Efl.Eo.FunctionWrapper<efl_player_volume_get_api_delegate> efl_player_volume_get_ptr = new Efl.Eo.FunctionWrapper<efl_player_volume_get_api_delegate>(Module, "efl_player_volume_get");
1499 private static double volume_get(System.IntPtr obj, System.IntPtr pd)
1501 Eina.Log.Debug("function efl_player_volume_get was called");
1502 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1503 if (wrapper != null)
1505 double _ret_var = default(double);
1508 _ret_var = ((Video)wrapper).GetVolume();
1512 Eina.Log.Warning($"Callback error: {e.ToString()}");
1513 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1521 return efl_player_volume_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1525 private static efl_player_volume_get_delegate efl_player_volume_get_static_delegate;
1528 private delegate void efl_player_volume_set_delegate(System.IntPtr obj, System.IntPtr pd, double volume);
1531 public delegate void efl_player_volume_set_api_delegate(System.IntPtr obj, double volume);
1533 public static Efl.Eo.FunctionWrapper<efl_player_volume_set_api_delegate> efl_player_volume_set_ptr = new Efl.Eo.FunctionWrapper<efl_player_volume_set_api_delegate>(Module, "efl_player_volume_set");
1535 private static void volume_set(System.IntPtr obj, System.IntPtr pd, double volume)
1537 Eina.Log.Debug("function efl_player_volume_set was called");
1538 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1539 if (wrapper != null)
1544 ((Video)wrapper).SetVolume(volume);
1548 Eina.Log.Warning($"Callback error: {e.ToString()}");
1549 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1556 efl_player_volume_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), volume);
1560 private static efl_player_volume_set_delegate efl_player_volume_set_static_delegate;
1562 [return: MarshalAs(UnmanagedType.U1)]
1563 private delegate bool efl_player_mute_get_delegate(System.IntPtr obj, System.IntPtr pd);
1565 [return: MarshalAs(UnmanagedType.U1)]
1566 public delegate bool efl_player_mute_get_api_delegate(System.IntPtr obj);
1568 public static Efl.Eo.FunctionWrapper<efl_player_mute_get_api_delegate> efl_player_mute_get_ptr = new Efl.Eo.FunctionWrapper<efl_player_mute_get_api_delegate>(Module, "efl_player_mute_get");
1570 private static bool mute_get(System.IntPtr obj, System.IntPtr pd)
1572 Eina.Log.Debug("function efl_player_mute_get was called");
1573 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1574 if (wrapper != null)
1576 bool _ret_var = default(bool);
1579 _ret_var = ((Video)wrapper).GetMute();
1583 Eina.Log.Warning($"Callback error: {e.ToString()}");
1584 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1592 return efl_player_mute_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1596 private static efl_player_mute_get_delegate efl_player_mute_get_static_delegate;
1599 private delegate void efl_player_mute_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool mute);
1602 public delegate void efl_player_mute_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool mute);
1604 public static Efl.Eo.FunctionWrapper<efl_player_mute_set_api_delegate> efl_player_mute_set_ptr = new Efl.Eo.FunctionWrapper<efl_player_mute_set_api_delegate>(Module, "efl_player_mute_set");
1606 private static void mute_set(System.IntPtr obj, System.IntPtr pd, bool mute)
1608 Eina.Log.Debug("function efl_player_mute_set was called");
1609 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1610 if (wrapper != null)
1615 ((Video)wrapper).SetMute(mute);
1619 Eina.Log.Warning($"Callback error: {e.ToString()}");
1620 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1627 efl_player_mute_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), mute);
1631 private static efl_player_mute_set_delegate efl_player_mute_set_static_delegate;
1634 private delegate double efl_player_length_get_delegate(System.IntPtr obj, System.IntPtr pd);
1637 public delegate double efl_player_length_get_api_delegate(System.IntPtr obj);
1639 public static Efl.Eo.FunctionWrapper<efl_player_length_get_api_delegate> efl_player_length_get_ptr = new Efl.Eo.FunctionWrapper<efl_player_length_get_api_delegate>(Module, "efl_player_length_get");
1641 private static double length_get(System.IntPtr obj, System.IntPtr pd)
1643 Eina.Log.Debug("function efl_player_length_get was called");
1644 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1645 if (wrapper != null)
1647 double _ret_var = default(double);
1650 _ret_var = ((Video)wrapper).GetLength();
1654 Eina.Log.Warning($"Callback error: {e.ToString()}");
1655 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1663 return efl_player_length_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1667 private static efl_player_length_get_delegate efl_player_length_get_static_delegate;
1669 [return: MarshalAs(UnmanagedType.U1)]
1670 private delegate bool efl_player_seekable_get_delegate(System.IntPtr obj, System.IntPtr pd);
1672 [return: MarshalAs(UnmanagedType.U1)]
1673 public delegate bool efl_player_seekable_get_api_delegate(System.IntPtr obj);
1675 public static Efl.Eo.FunctionWrapper<efl_player_seekable_get_api_delegate> efl_player_seekable_get_ptr = new Efl.Eo.FunctionWrapper<efl_player_seekable_get_api_delegate>(Module, "efl_player_seekable_get");
1677 private static bool seekable_get(System.IntPtr obj, System.IntPtr pd)
1679 Eina.Log.Debug("function efl_player_seekable_get was called");
1680 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1681 if (wrapper != null)
1683 bool _ret_var = default(bool);
1686 _ret_var = ((Video)wrapper).GetSeekable();
1690 Eina.Log.Warning($"Callback error: {e.ToString()}");
1691 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1699 return efl_player_seekable_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1703 private static efl_player_seekable_get_delegate efl_player_seekable_get_static_delegate;
1706 private delegate void efl_player_start_delegate(System.IntPtr obj, System.IntPtr pd);
1709 public delegate void efl_player_start_api_delegate(System.IntPtr obj);
1711 public static Efl.Eo.FunctionWrapper<efl_player_start_api_delegate> efl_player_start_ptr = new Efl.Eo.FunctionWrapper<efl_player_start_api_delegate>(Module, "efl_player_start");
1713 private static void start(System.IntPtr obj, System.IntPtr pd)
1715 Eina.Log.Debug("function efl_player_start was called");
1716 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1717 if (wrapper != null)
1722 ((Video)wrapper).Start();
1726 Eina.Log.Warning($"Callback error: {e.ToString()}");
1727 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1734 efl_player_start_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1738 private static efl_player_start_delegate efl_player_start_static_delegate;
1741 private delegate void efl_player_stop_delegate(System.IntPtr obj, System.IntPtr pd);
1744 public delegate void efl_player_stop_api_delegate(System.IntPtr obj);
1746 public static Efl.Eo.FunctionWrapper<efl_player_stop_api_delegate> efl_player_stop_ptr = new Efl.Eo.FunctionWrapper<efl_player_stop_api_delegate>(Module, "efl_player_stop");
1748 private static void stop(System.IntPtr obj, System.IntPtr pd)
1750 Eina.Log.Debug("function efl_player_stop was called");
1751 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1752 if (wrapper != null)
1757 ((Video)wrapper).Stop();
1761 Eina.Log.Warning($"Callback error: {e.ToString()}");
1762 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1769 efl_player_stop_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1773 private static efl_player_stop_delegate efl_player_stop_static_delegate;
1775 #pragma warning restore CA1707, SA1300, SA1600