NaCl Player API
NaCl Player API Documentation
Samsung::NaClPlayer::ErrorCodes Class Reference

#include <error_codes.h>

Public Types

enum  {
  Success = 0, CompletionPending = -1, Failed = -2, BadState = -3,
  WouldBlock = -4, BadArgument = -5, NotSupported = -6, InProgress = -7,
  FileNotFound = -8, NoMessageLoop = -9, BufferFull = -10
}
 

Detailed Description

Calling convention for all methods each method returning int32_t value will return either

0 - method specific return value

= 0 - method call was successful < 0 - one of the error codes

If return value is CompletionPending then value of return from function will be delivered asynchronously to passed callback.

Definition at line 19 of file error_codes.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
Success 

Request was successfully processed.

CompletionPending 

Call was forwarded to be executed and reply will be delivered asynchronously to the callback.

Failed 

Failed to process request due to unspecified reason.

BadState 

Object on which request was made is in wrong/error state.

WouldBlock 

Synchronous call has been requested, but can't be completed synchronously

BadArgument 

Wrong value of argument(s) has been passed.

NotSupported 

Requested operation is not supported.

InProgress 

Requested action is already pending.

FileNotFound 

Requested operation cannot be completed due to a non-existinent file.

NoMessageLoop 

Requested operation requires a MessageLoop to be attached to a current thread.

BufferFull 

Player internal buffer is full. Packet cannot be accepted until backend processes a number of packets.

Definition at line 21 of file error_codes.h.


The documentation for this class was generated from the following file: