MulticastResult | Android Developers

Quicknav Quicknav
Links

- Google Play Developer Console
- Android Developers Blog
- About Android

Android Sites

- Android.com
- Android Developers
- Android Open Source Project

Language
close

- - Get Started
  - Style
  - Patterns
  - Building Blocks
  - Downloads
  - Videos
- - Training
  - API Guides
  - Reference
  - Tools
    - Get the SDK
  - Google Services
- - Google Play
  - Publishing
  - Promoting
  - App Quality
  - Spotlight
  - Open Distribution

## Results

Loading...
Summary: Nested Classes | Methods | Inherited Methods | [Expand All]
public final class

# MulticastResult

extends Object
implements Serializable

java.lang.Object
↳ | com.google.android.gcm.server.MulticastResult

## Class Overview

Result of a GCM multicast message request .

## Summary

Nested Classes
class | MulticastResult.Builder |

Public Methods
int | getCanonicalIds() Gets the number of successful messages that also returned a canonical registration id.
int | getFailure() Gets the number of failed messages.
long | getMulticastId() Gets the multicast id.
List<Result> | getResults() Gets the results of each individual message, which is immutable.
List<Long> | getRetryMulticastIds() Gets additional ids if more than one multicast message was sent.
int | getSuccess() Gets the number of successful messages.
int | getTotal() Gets the total number of messages sent, regardless of the status.
String | toString()

[Expand] Inherited Methods
From class java.lang.Object
Object | clone()
boolean | equals(Object arg0)
void | finalize()
final Class<?> | getClass()
int | hashCode()
final void | notify()
final void | notifyAll()
String | toString()
final void | wait()
final void | wait(long arg0, int arg1)
final void | wait(long arg0)

## Public Methods

#### public int getCanonicalIds ()

Gets the number of successful messages that also returned a canonical registration id.

#### public int getFailure ()

Gets the number of failed messages.

#### public long getMulticastId ()

Gets the multicast id.

#### public List<Result> getResults ()

Gets the results of each individual message, which is immutable.

#### public List<Long> getRetryMulticastIds ()

Gets additional ids if more than one multicast message was sent.

#### public int getSuccess ()

Gets the number of successful messages.

#### public int getTotal ()

Gets the total number of messages sent, regardless of the status.

#### public String toString ()