Class ApnsCustomSound.Builder
java.lang.Object
com.sap.mobile.services.client.push.ApnsCustomSound.Builder
- Enclosing interface:
- ApnsCustomSound
Detailed APNS sound definition. Use this when sending critical notifications.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Use the system default critical soundReference to the sound resource of the app that is played when notification is received on the device.The volume for the critical alert’s sound.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
critical
Use the system default critical sound -
sound
Reference to the sound resource of the app that is played when notification is received on the device. Usedefault
for the system sound. No sound is played when this property is empty. -
volume
The volume for the critical alert’s sound. Set this to a value between 0 (silent) and 1 (full volume). -
build
-