Sub GifView_Stop
If B4XGifView1.GifDrawable.IsInitialized=True Then
B4XGifView1.GifDrawable.RunMethod("stop",Null)
End If
End Sub
Sub GifView_CurrentDuration As Int
If B4XGifView1.GifDrawable.IsInitialized=True Then
Return B4XGifView1.GifDrawable.RunMethod("getCurrentPosition",Null)
Else
Return Null
End If
End Sub
Sub GifView_GetDuration As Int
If B4XGifView1.GifDrawable.IsInitialized=True Then
Return B4XGifView1.GifDrawable.RunMethod("getDuration",Null)
Else
Return Null
End If
End Sub
Sub GifView_IsRunnig As Boolean
If B4XGifView1.GifDrawable.IsInitialized=True Then
Return B4XGifView1.GifDrawable.RunMethod("isRunning",Null)
Else
Return Null
End If
End Sub