nor0x / XDroidFFmpeg

Xamarin.Android Binding for RxFFmpeg. XDroidFFmpeg provides powerful audio and video processing / editing powered by ffmpeg
12 stars 2 forks source link

How to Use it from Xamarin.forms #3

Open premingiet opened 5 years ago

premingiet commented 5 years ago

How can i call the function from my xamarin.forms to xamarin.android ? How to get this to work from my xamarin.forms project ?

nor0x commented 5 years ago

From Xamarin.Forms you can call into the Xamarin.Android platform specific code by implementing an interface with the desired methods (i.e. calls to XDroidFFmpeg). This interface can registered and used in the Xamarin.Forms project via dependency injection.

i can also recommend going through the Xamarin.Forms documentation on Inversion of Control (IOC) and Dependency Injection (DI): https://docs.microsoft.com/en-us/xamarin/xamarin-forms/enterprise-application-patterns/dependency-injection#registration

Mr-devfabio commented 7 months ago

Você crio XDroidFFmpeg no sketchware? Se sim você pode me passar o swb dele.