Beaconstac Android  0.9.9
com.mobstac.beaconstac.models.MSMedia Class Reference
Inheritance diagram for com.mobstac.beaconstac.models.MSMedia:
com.mobstac.beaconstac.models.ModelBase

Public Member Functions

 MSMedia (int id, String name, URL url, int orgId, String contentType, Date created, Date modified)
 
int getMediaID ()
 
void setMediaID (int mediaID)
 
String getName ()
 
URL getMediaUrl ()
 
String getContentType ()
 
int getOrganizationId ()
 
Date getCreated ()
 
Date getModified ()
 
ArrayList getTags ()
 
void setTags (ArrayList tags)
 
Date getExpiryDate ()
 
void setExpiryDate (Date expiryDate)
 
- Public Member Functions inherited from com.mobstac.beaconstac.models.ModelBase
 ModelBase (Object...objects)
 

Additional Inherited Members

- Static Protected Attributes inherited from com.mobstac.beaconstac.models.ModelBase
static final String idString = "_id"
 
static final String[] base_columns = { idString }
 

Member Function Documentation

String com.mobstac.beaconstac.models.MSMedia.getContentType ( )

Returns the content type of the media object This can have values like image/jpeg, audio/mpeg, video/avi etc.

Date com.mobstac.beaconstac.models.MSMedia.getCreated ( )

Returns the date when the media object was created

Date com.mobstac.beaconstac.models.MSMedia.getExpiryDate ( )

Returns the date when the media object will expire. The media object must be cached if it needs to be used post expiry.

int com.mobstac.beaconstac.models.MSMedia.getMediaID ( )

Returns the media ID of the media object

URL com.mobstac.beaconstac.models.MSMedia.getMediaUrl ( )

Returns the URL of the media object

Date com.mobstac.beaconstac.models.MSMedia.getModified ( )

Returns the date when the media object was last modified

String com.mobstac.beaconstac.models.MSMedia.getName ( )

Returns the name of the media object

int com.mobstac.beaconstac.models.MSMedia.getOrganizationId ( )

Returns the organization ID associated to the media object

ArrayList com.mobstac.beaconstac.models.MSMedia.getTags ( )

Returns an array of tags associated to the media object


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