HomeDocumentationAPI Reference
Getting StartedAPI ReferenceBug ReportingCrash ReportingAPMHelp Center
These docs are for v8.1. Click to read the latest docs for v12.0.0.

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);
##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();