PostResult

Post results.

Don't panic!

The returned values are divided into multiple groups:

0
Success.
1 … 999
The event was not posted due to a temporary failure and you can try reposting the same event later.
1000 … 1999
The event was not posted because of ambiguities or missing information and requires further processing before it can be reposted.
2000 … 2999
The event contains a major problem that should not happen. This causes assertion failure in the debug build.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
annotation class Value
Post result value.

Properties

Link copied to clipboard
val ACCOUNT_OVERRIDE: Int = 1500
Number rewriting account override collision.
Link copied to clipboard
Invalid recipient.
Link copied to clipboard
val INVALID_STREAM: Int = 2003
Invalid stream.
Link copied to clipboard
val NO_ACCOUNT: Int = 1001
No account to send the event with.
Link copied to clipboard
val NO_NETWORK: Int = 1
No network connection.
Link copied to clipboard
val NO_RECIPIENT: Int = 1002
The event has no recipient.
Link copied to clipboard
val NO_STREAM: Int = 1004
The event has no stream.
Link copied to clipboard
Failed to process the event.
Link copied to clipboard
val SUCCESS: Int = 0
Post successful.
Link copied to clipboard
The event has too many recipients.
Link copied to clipboard
val UNPOSTABLE_TYPE: Int = 2001
The event type cannot be posted.
Link copied to clipboard
The event type is not supported by the account.
Link copied to clipboard
Unsupported feature required.
Link copied to clipboard
val USED_EVENT: Int = 2000
The event was already used.
Link copied to clipboard
val WRONG_STREAM: Int = 1000
The event is posted to a wrong stream.