HomeDocumentationAPI Reference
Getting StartedAPI ReferenceBug ReportingCrash ReportingAPMHelp Center

Managing Sounds

Android only

There are different types of sounds that play when different events occur. These sounds can all be disabled or enabled based on need.

In-App Notification Sound

Replies.setInAppNotificationEnabled(false);
//Android Only
Replies.setInAppNotificationSound(true);
//Android Only
Replies.setInAppNotificationSound(false);
Replies.setInAppNotificationSound(false);
System Notification Sound

Replies.setSystemReplyNotificationSoundEnabled(boolean shouldPlaySound);
Conversation Sound

Replies.setShouldPlayConversationSounds(false);
//iOS
//Not supported on iOS

//Android
new Instabug.Builder(this, "ANDROID_APP_TOKEN")
  	.SetInvocationEvent(InstabugInvocationEvent.Shake)
  	.SetShouldPlayConversationSounds(false)
  	.Build();