public interface DialerService
Example
Services.get(DialerService.class).ifPresent(service -> {
service.call("+32987123456");
});
Android Configuration
The permission android.permission.CALL_PHONE
needs to be added.
<manifest ...>
<uses-permission android:name="android.permission.CALL_PHONE"/>
...
<activity android:name="com.gluonhq.impl.charm.down.plugins.android.PermissionRequestActivity" />
</manifest>
iOS Configuration: none
Modifier and Type | Method and Description |
---|---|
void |
call(java.lang.String number)
Starts a phone call to the given number with the native dial application.
|