Android SDK

Mastercard provides a lightweight Android SDK that helps you to implement and play Mastercard Sonic Branding Sound and/or Animation along with haptics feedback for multisensory confirmation. The Android SDK supports the following three features which you can select and integrate into your application.

  • Sound and Animation

  • Sound Only

  • Animation Only

Supported Version

API 21 and above

Supported Version for Haptics Feedback

API 26 and above

Supported Language

  • Kotlin

  • Java

Supported Platform

  • Android-based Point of Sale(POS) terminal

  • Mobile Application

Download SDK

The Android SDK can be downloaded below.

Adding Dependency with Gradle

AAR files can be added as a dependency in the project by following either of the methods mentioned below:

  • Adding AAR as a New Module

  1. Go to File -> New -> New module and import the .jar/.aar package.

  2. Configure the project build.gradle file.

  • Adding AAR in a Project Lib folder

  1. Copy the sonic-sdk-release-1.5.0.aar into the project libs folder.

  2. Configure the project build.gradle file.

Next Step

For detailed integration guide, see Steps to Integrate

Last updated