Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
6d7fdab6
Commit
6d7fdab6
authored
Aug 01, 2018
by
Sylvain Berfini
🐮
Browse files
Improved LinphoneAndroid class in C# wrapper
parent
aca36b38
Pipeline
#211
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
wrappers/csharp/wrapper_impl.mustache
wrappers/csharp/wrapper_impl.mustache
+4
-1
No files found.
wrappers/csharp/wrapper_impl.mustache
View file @
6d7fdab6
...
...
@@ -255,6 +255,8 @@ namespace Linphone
///
</summary>
public class LinphoneAndroid
{
public static IntPtr AndroidContext { get; set; }
[DllImport(LinphoneWrapper.LIB_NAME, CallingConvention = CallingConvention.Cdecl)]
static extern void ms_set_jvm_from_env(IntPtr jnienv);
...
...
@@ -267,8 +269,9 @@ namespace Linphone
///
</summary>
public static void setAndroidContext(IntPtr jnienv, IntPtr context)
{
AndroidContext = context;
ms_set_jvm_from_env(jnienv);
setMediastreamerAndroidContext(jnienv,
c
ontext);
setMediastreamerAndroidContext(jnienv,
AndroidC
ontext);
}
}
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment