Oracle Application Server Wireless Java API Reference
B10400-01

oracle.panama.messaging.common
Class RingTone

java.lang.Object
  |
  +--java.util.Dictionary
        |
        +--java.util.Hashtable
              |
              +--oracle.panama.messaging.common.RingTone
All Implemented Interfaces:
java.lang.Cloneable, java.util.Map, java.io.Serializable

public class RingTone
extends java.util.Hashtable
See Also:
Serialized Form

Field Summary
static java.lang.String ENCODED_RINGTONE
           
static java.lang.String MIME
           
static java.lang.String PHONE_MODEL
           
static java.lang.String RINGTONE
           
static java.lang.String RINGTONE_ENC_OTA_ASCII
           
static java.lang.String RINGTONE_ENC_RTTL
           
static java.lang.String RINGTONE_ENCODING
           

 

Constructor Summary
RingTone()
          Constructor.

 

Method Summary
 void setEncodedRingtone(java.lang.String encodedRT)
          Set the encoded RTTL ringtone.
 void setPhoneModel(java.lang.String model)
          Set the required phone model.
 void setRingTone(java.lang.String ringtone)
          Set the required ringtone as a string.
 void setRingToneEncoding(java.lang.String enc)
          Set the required ringtone encoding format.

 

Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, remove, size, toString, values

 

Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait

 

Field Detail

MIME

public static final java.lang.String MIME
See Also:
Constant Field Values

RINGTONE

public static final java.lang.String RINGTONE
See Also:
Constant Field Values

RINGTONE_ENCODING

public static final java.lang.String RINGTONE_ENCODING
See Also:
Constant Field Values

ENCODED_RINGTONE

public static final java.lang.String ENCODED_RINGTONE
See Also:
Constant Field Values

RINGTONE_ENC_OTA_ASCII

public static final java.lang.String RINGTONE_ENC_OTA_ASCII
See Also:
Constant Field Values

RINGTONE_ENC_RTTL

public static final java.lang.String RINGTONE_ENC_RTTL
See Also:
Constant Field Values

PHONE_MODEL

public static final java.lang.String PHONE_MODEL
See Also:
Constant Field Values
Constructor Detail

RingTone

public RingTone()
Constructor.
Method Detail

setRingTone

public void setRingTone(java.lang.String ringtone)
Set the required ringtone as a string. The enoding should be set separately.
Parameters:
ringtone - the ring tone.

setRingToneEncoding

public void setRingToneEncoding(java.lang.String enc)
Set the required ringtone encoding format. Only RTTL and OTA_ASCII format are supported by the shipped GSM Smart Message encoder. If another GSMSmartMsgEncoder is plugged in, other formats supported by that encoder should be supported as well. The RTTL format is well known, and supported by all shipped SMS drivers. The OTA_ASCII format is supported only by an internal driver running on messenger.oracle.com.

setPhoneModel

public void setPhoneModel(java.lang.String model)
Set the required phone model. The phone model should be of the format: "band type", for example: "Nokia 6210", "Ericsson R380". It is case insensitive.

setEncodedRingtone

public void setEncodedRingtone(java.lang.String encodedRT)
Set the encoded RTTL ringtone.

Oracle Application Server Wireless Java API Reference
B10400-01

Copyright © 2003 Oracle Corporation. All Rights Reserved.