mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 19:18:06 +00:00
Added method in Java's wrapper Factory object to get LoggingService
This commit is contained in:
parent
5290d59d76
commit
2f550cd5df
1 changed files with 11 additions and 0 deletions
|
|
@ -127,6 +127,11 @@ public {{#isLinphoneFactory}}abstract class{{/isLinphoneFactory}}{{#isNotLinphon
|
|||
* Gets the object stored in this object user's data
|
||||
*/
|
||||
{{#isLinphoneFactory}}abstract {{/isLinphoneFactory}}public Object getUserData();
|
||||
|
||||
/**
|
||||
* Gets the object stored in this object user's data
|
||||
*/
|
||||
abstract public LoggingService getLoggingService();
|
||||
}
|
||||
|
||||
class {{classImplName}} {{#isLinphoneFactory}}extends{{/isLinphoneFactory}}{{#isNotLinphoneFactory}}implements{{/isNotLinphoneFactory}} {{className}} {
|
||||
|
|
@ -176,6 +181,12 @@ class {{classImplName}} {{#isLinphoneFactory}}extends{{/isLinphoneFactory}}{{#is
|
|||
return getCore(nativePtr, ptr);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LoggingService getLoggingService() {
|
||||
LoggingService l = new LoggingServiceImpl(0);
|
||||
return l.get();
|
||||
}
|
||||
|
||||
@Override
|
||||
public native void setDebugMode(boolean enable, String tag);
|
||||
{{/isLinphoneFactory}}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue