[UnmanagedFunctionPointer(CallingConvention.StdCall)]
- public delegate void FinishedEventHandler(object source, FinishedEventArgs e);
-
- [UnmanagedFunctionPointer(CallingConvention.StdCall)]
private delegate void FinishedCallbackDelegate(IntPtr data);
- private FinishedEventHandler _videoViewFinishedEventHandler;
+ private DaliEventHandler<object,FinishedEventArgs> _videoViewFinishedEventHandler;
private FinishedCallbackDelegate _videoViewFinishedCallbackDelegate;
/**
* @brief Event for Finished signal which can be used to subscribe/unsubscribe the event handler
- * (in the type of FinishedEventHandler) provided by the user.
+ * (in the type of FinishedEventHandler-DaliEventHandler<object,FinishedEventArgs>) provided by the user.
* Finished signal is emitted when a video playback have finished.
*/
- public event FinishedEventHandler Finished
+ public event DaliEventHandler<object,FinishedEventArgs> Finished
{
add
{
return ret;
}
+/* Properties earlier added by Ruby Script */
+
+ public Dali.Property.Map Video
+ {
+ get
+ {
+ Dali.Property.Map temp = new Dali.Property.Map();
+ GetProperty( VideoView.Property.VIDEO).Get( temp );
+ return temp;
+ }
+ set
+ {
+ SetProperty( VideoView.Property.VIDEO, new Dali.Property.Value( value ) );
+ }
+ }
+ public bool Looping
+ {
+ get
+ {
+ bool temp = false;
+ GetProperty( VideoView.Property.LOOPING).Get( ref temp );
+ return temp;
+ }
+ set
+ {
+ SetProperty( VideoView.Property.LOOPING, new Dali.Property.Value( value ) );
+ }
+ }
+ public bool Muted
+ {
+ get
+ {
+ bool temp = false;
+ GetProperty( VideoView.Property.MUTED).Get( ref temp );
+ return temp;
+ }
+ set
+ {
+ SetProperty( VideoView.Property.MUTED, new Dali.Property.Value( value ) );
+ }
+ }
+ public Dali.Property.Map Volume
+ {
+ get
+ {
+ Dali.Property.Map temp = new Dali.Property.Map();
+ GetProperty( VideoView.Property.VOLUME).Get( temp );
+ return temp;
+ }
+ set
+ {
+ SetProperty( VideoView.Property.VOLUME, new Dali.Property.Value( value ) );
+ }
+ }
+
+/* Properties ends */
+
%}
%enddef