|
Changes since the last release |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ebay.soap.eBLBaseComponents.MessageMediaType
public class MessageMediaType
Container for the image file that is to be sent in a message, which lets sellers share photos in messages using the API. The photo must be uploaded by the seller or buyer to EPS (eBay Picture Services) using a separate API call or the web flow. After the image is on the eBay server, you can use AddMemberMessage calls to pass the URL of the image in a message. The uploaded images will be available as part of the email as a thumbnail image. Clicking on the thumbnail, opens a larger version of the image in a filmstrip. The image name will be displayed on the title of the filmstrip component. These uploaded images will also be returned as MessageMediaType arrays in the GetMemberMessages and GetMyMessages API response. It doesn't matter if an image was uploaded using the web flow or using the API, it can be accessed using either the web flow or the API and web.
Java class for MessageMediaType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="MessageMediaType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="MediaURL" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/> <element name="MediaName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <any/> </sequence> </restriction> </complexContent> </complexType>
Field Summary | |
---|---|
protected java.util.List<java.lang.Object> |
any
|
protected java.lang.String |
mediaName
|
protected java.lang.String |
mediaURL
|
Constructor Summary | |
---|---|
MessageMediaType()
|
Method Summary | |
---|---|
protected java.util.List<java.lang.Object> |
_getAny()
|
java.lang.Object[] |
getAny()
|
java.lang.Object |
getAny(int idx)
|
int |
getAnyLength()
|
java.lang.String |
getMediaName()
Gets the value of the mediaName property. |
java.lang.String |
getMediaURL()
Gets the value of the mediaURL property. |
java.lang.Object |
setAny(int idx,
java.lang.Object value)
|
void |
setAny(java.lang.Object[] values)
|
void |
setMediaName(java.lang.String value)
Sets the value of the mediaName property. |
void |
setMediaURL(java.lang.String value)
Sets the value of the mediaURL property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String mediaURL
protected java.lang.String mediaName
protected java.util.List<java.lang.Object> any
Constructor Detail |
---|
public MessageMediaType()
Method Detail |
---|
public java.lang.String getMediaURL()
String
public void setMediaURL(java.lang.String value)
value
- allowed object is
String
public java.lang.String getMediaName()
String
public void setMediaName(java.lang.String value)
value
- allowed object is
String
public java.lang.Object[] getAny()
Element
Object
public java.lang.Object getAny(int idx)
Element
Object
public int getAnyLength()
public void setAny(java.lang.Object[] values)
values
- allowed objects are
Element
Object
protected java.util.List<java.lang.Object> _getAny()
public java.lang.Object setAny(int idx, java.lang.Object value)
value
- allowed object is
Element
Object
|
Changes since the last release |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The information contained in this document is proprietary and confidential.
Use of this information and the eBay API requires a Non-Disclosure Agreement (NDA) between the user and eBay Inc.
For information regarding a qualifying NDA, contact Developer Relations:
developer-relations@ebay.com
© 2004-2009 eBay Inc. All rights reserved.