Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to Use it from Xamarin.forms #3

Open
premingiet opened this issue Nov 8, 2019 · 2 comments
Open

How to Use it from Xamarin.forms #3

premingiet opened this issue Nov 8, 2019 · 2 comments

Comments

@premingiet
Copy link

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
Copy link
Owner

nor0x commented Nov 8, 2019

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants