Java
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

Download

android-sdk-sample

Samples & documentation for the StraaS Android SDK.

Developer Authentication

Read Credential first.

To run our sample, you have to copy your client_id into gradle.properties:

your_debug_client_id=xxxxx
your_release_client_id=xxxxx

User Identity

Read Identity first. To change the identity in out sample, change the Identity declared in MemberIdentity.ME.

Usage

To add these dependencies on jCenter using Gradle.

X.X.X is the your preferred version. For the version information, see CHANGELOG

  • Media browser & playback + Ad integration (minSdkVersion 16):
compile 'io.straas.android.sdk:straas-extension-ima:X.X.X'
  • Media browser & playback only (minSdkVersion 16):
compile 'io.straas.android.sdk:straas-media-core:X.X.X'
  • ChatRoom (minSdkVersion 14):
compile 'io.straas.android.sdk:straas-messaging:X.X.X'
  • ChatRoom with UI (minSdkVersion 14):
compile 'io.straas.android.sdk:straas-messaging-ui:X.X.X'
  • Streaming (minSdkVersion 18):
compile 'io.straas.android.sdk:straas-streaming:X.X.X'
  • Circall (minSdkVersion 18):
compile 'io.straas.android.sdk:straas-circall:X.X.X'

Learn about Android SDK