Class ApnsCustomSound.Builder

java.lang.Object
com.sap.mobile.services.client.push.ApnsCustomSound.Builder
Enclosing interface:
ApnsCustomSound

public static final class ApnsCustomSound.Builder extends Object
Detailed APNS sound definition. Use this when sending critical notifications.
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • critical

      public ApnsCustomSound.Builder critical(Boolean critical)
      Use the system default critical sound
    • sound

      public ApnsCustomSound.Builder sound(String sound)
      Reference to the sound resource of the app that is played when notification is received on the device. Use default for the system sound. No sound is played when this property is empty.
    • volume

      public ApnsCustomSound.Builder volume(Float volume)
      The volume for the critical alert’s sound. Set this to a value between 0 (silent) and 1 (full volume).
    • build

      public ApnsCustomSound build()