Keyboard Support

Contact and Search

Keyman.com Homepage

Header bottom

Keyman.com

Other versions
Version 14.0 (current version)Version 13.0 (home page)Version 12.0 (home page)Version 11.0 (home page)Version 10.0 (home page)Version 2.0 (home page)

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