Keyboard Support

Contact and Search

Keyman.com Homepage

Header bottom

Keyman.com

Other versions
Version 18.0Version 17.0 (current version)Version 16.0Version 15.0Version 14.0

Index

On this page

KMManager.setMaySendCrashReport()


Summary

The setMaySendCrashReport() enables or disables whether Keyman Engine can send crash reports over the network to sentry.keyman.com.

Syntax

KMManager.setMaySendCrashReport(boolean value)

Parameters

value

Set true to enable crash reports to be sent, false to disable.

Description

Use this method to enable or disable whether Keyman Engine can send crash reports over the network. By default sending crash reports is enabled.

If you don't want crash reports to be sent, your app must disable this before KMManager.initialize().

Examples

Example: Using setMaySendCrashReport()

The following script illustrates the use of setMaySendCrashReport():

    // Disable crash reports from being sent
    KMManager.setMaySendCrashReport(false);
    // Initialize KMManager
    KMManager.initialize(getApplicationContext(), KeyboardType.KEYBOARD_TYPE_INAPP);

History

Added syntax in Keyman Engine for Android 14.0.

See also