public class

InstantMultimediaMessageIntent

extends Object
java.lang.Object
   ↳ com.gsma.services.rcs.extension.InstantMultimediaMessageIntent

Class Overview

Intent for instant multimedia message

Summary

Constants
String ACTION_NEW_INSTANT_MESSAGE Broadcast action: a new multimedia instant message has been received.
String EXTRA_CONTACT ContactId of remote contact
String EXTRA_CONTENT Content of the multimedia message (byte[])
String EXTRA_CONTENT_TYPE Content type of the multimedia message
String EXTRA_SERVICE_ID Unique service ID
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String ACTION_NEW_INSTANT_MESSAGE

Since: API Level 1.6

Broadcast action: a new multimedia instant message has been received.

Intent includes the following extras:

  • EXTRA_CONTACT containing the contact ID of remote contact.
  • EXTRA_SERVICE_ID containing the service ID related to the multimedia message.
  • The service ID is read from the method Intent.getType() which returns the MIME type included in the intent and corresponding to the invoked service.
  • EXTRA_CONTENT containing the content of the multimedia message.
  • EXTRA_CONTENT_TYPE containing the content type of the multimedia message.

Constant Value: "com.gsma.services.rcs.extension.action.NEW_INSTANT_MESSAGE"

public static final String EXTRA_CONTACT

Since: API Level 1.6

ContactId of remote contact

Constant Value: "contact"

public static final String EXTRA_CONTENT

Since: API Level 1.6

Content of the multimedia message (byte[])

Constant Value: "content"

public static final String EXTRA_CONTENT_TYPE

Since: API Level 1.6

Content type of the multimedia message

Constant Value: "contentType"

public static final String EXTRA_SERVICE_ID

Since: API Level 1.6

Unique service ID

Constant Value: "serviceId"