HomeDocumentationAPI Reference
Getting StartedAPI ReferenceHelp CenterVideo Tours

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);
Replies.setInAppNotificationEnabled(false)
Replies.setInAppNotificationSound(false);
Replies.setInAppNotificationSound(false);
//iOS
//Not support on iOS

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

Replies.setSystemReplyNotificationSoundEnabled(true);
Replies.setSystemReplyNotificationSoundEnabled(true)
Conversation Sound

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

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