JSR-043: JTAPI-1.4

javax.telephony.media.container
Interface ContainerConstants

All Superinterfaces:
CoderConstants
All Known Subinterfaces:
Async_ContainerEvent, Async_ContainerService, Async_DataObject, Async_DataObjectEvent, ContainerEvent, ContainerService, DataObject, DataObjectEvent

public interface ContainerConstants
extends CoderConstants

Constants common to all the Container interfaces.

Since:
JTAPI-1.4

Field Summary
static int b_Append
          With v_AccessCopy or v_AccessWrite; write to end of contents.
static int b_Create
          Create DataObject if does not already exist.
static int b_Exclusive
          Used with b_Create: fail if already exists.
static int b_Truncate
          With v_AccessCopy or v_AccessWrite; erase contents when opened.
static Symbol e_OK
          Symbol returned from MediaEvent.getError() if there is no error.
static Symbol k_InputParameters
          Used in optargs to set Parameters during createObject().
static Symbol k_MediaType
          Set this in createObject to specify media type for new DataObject.
static Symbol k_MediaTypes
          Set this in openObject OptArgs to restrict Media Type of an existing DataObject.
static Symbol v_AccessCopy
          Allow read and write access.
static Symbol v_AccessRead
          Allow non-exclusive read access.
static Symbol v_AccessWrite
          Allow exclusive write access.
static Symbol v_Begin
          for position argument to DataObject.seek().
static Symbol v_Bytes
          for SeekUnits argument to DataObject.seek().
static boolean v_Create
          boolean value for ifNoExist in openDataObject.
static Symbol v_Current
          for position argument to DataObject.seek().
static Symbol v_End
          for position argument to DataObject.seek().
static boolean v_Fail
          boolean value for ifNoExist in openDataObject.
static Symbol v_MDO
          for SeekUnits argument to DataObject.seek().
static Symbol v_MilliSeconds
          for SeekUnits argument to DataObject.seek().
 
Fields inherited from interface javax.telephony.media.CoderConstants
v_24kADPCM, v_32kADPCM, v_44kADPCM, v_48k8BitLinear, v_48kALawPCM, v_48kMuLawPCM, v_64k8BitLinear, v_64kALawPCM, v_64kMuLawPCM, v_88k8BitLinear, v_88kALawPCM, v_88kMuLawPCM, v_ADPCM_24k, v_ADPCM_32k, v_ADPCM_44k, v_ADSI, v_ALawPCM_48k, v_ALawPCM_64k, v_ALawPCM_88k, v_ASCII, v_Linear8Bit_48k, v_Linear8Bit_64k, v_Linear8Bit_88k, v_MuLawPCM_48k, v_MuLawPCM_64k, v_MuLawPCM_88k, v_TDD
 

Field Detail

e_OK

public static final Symbol e_OK
Symbol returned from MediaEvent.getError() if there is no error.

b_Create

public static final int b_Create
Create DataObject if does not already exist.

b_Exclusive

public static final int b_Exclusive
Used with b_Create: fail if already exists.

b_Truncate

public static final int b_Truncate
With v_AccessCopy or v_AccessWrite; erase contents when opened.

b_Append

public static final int b_Append
With v_AccessCopy or v_AccessWrite; write to end of contents.

v_AccessRead

public static final Symbol v_AccessRead
Allow non-exclusive read access. Other processes may read or write.

v_AccessWrite

public static final Symbol v_AccessWrite
Allow exclusive write access.

v_AccessCopy

public static final Symbol v_AccessCopy
Allow read and write access. Other processes may read.

v_Begin

public static final Symbol v_Begin
for position argument to DataObject.seek().

v_Current

public static final Symbol v_Current
for position argument to DataObject.seek().

v_End

public static final Symbol v_End
for position argument to DataObject.seek().

v_Bytes

public static final Symbol v_Bytes
for SeekUnits argument to DataObject.seek().

v_MilliSeconds

public static final Symbol v_MilliSeconds
for SeekUnits argument to DataObject.seek().

v_MDO

public static final Symbol v_MDO
for SeekUnits argument to DataObject.seek().

v_Create

public static final boolean v_Create
boolean value for ifNoExist in openDataObject.

v_Fail

public static final boolean v_Fail
boolean value for ifNoExist in openDataObject.

k_MediaTypes

public static final Symbol k_MediaTypes
Set this in openObject OptArgs to restrict Media Type of an existing DataObject. Valid values: a Symbol[] of Symbols from CoderConstants.
See Also:
CoderConstants

k_MediaType

public static final Symbol k_MediaType
Set this in createObject to specify media type for new DataObject.

Valid values: one of the CoderConstants.

Note:If MediaTypes is specified, then this default must be one of the MediaTypes.

See Also:
CoderConstants

k_InputParameters

public static final Symbol k_InputParameters
Used in optargs to set Parameters during createObject(). Value is a KVSet.

JSR-043: JTAPI-1.4

Send comments to: JSR-43@ectf.org