Child pages
  • JSMedia

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Cache
indextrue
refresh100d
showRefreshtrue
iddoc
titleRefresh page
showDatetrue
retryEnable

servoy sReturnTypes2100%height: 30px;2Supported ClientssWordListSmartClientsWordListWebClientsWordListNGClient

servoy sSummary12%30%58%height: 30px;3Property SummaryA byte array holding the content of the Media object.The MIME type of the Media object.

servoy sSummary12%30%58%height: 30px;3Methods SummaryReturns this media's bytes a a String converting it with the UTF-8 Charset.The name of the Media object.Returns the UUID of this mediavoidSets the bytes of this media to the give String that is converted to bytes using the UTF-8 Charset.

propertyservoy sDetail2100%height:30px2Property Detailsbytesname

bytes

dessIndent
A byte array holding the content of the Media object.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRowmimeTypename

mimeType

dessIndent
The MIME type of the Media object.

Some examples are: 'image/jpg', 'image/png', etc.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow

functionservoy sDetail2100%height:30px2Methods DetailsgetAsStringname

getAsString()

dessIndent
Returns this media's bytes a a String converting it with the UTF-8 Charset.
Returns null if it couldn't convert it or the bytes where null.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRowgetNamename

getName()

dessIndent
The name of the Media object.
ret

Returns

sIndent A String holding the name of this Media object.
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
getUUIDname

getUUID()

dessIndent
Returns the UUID of this media
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
setAsStringname

setAsString(string)

dessIndent
Sets the bytes of this media to the give String that is converted to bytes using the UTF-8 Charset.
prs

Parameters

sIndentstring ;
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow