getMediaType()
@blobs/sdk / utils/blobUtils / getMediaType
getMediaType(
media):"image"|"video"|"audio"|"document"|"other"
Defined in: utils/blobUtils.ts:509
Classify a media item into a coarse category.
Parameters
media
Media record.
Returns
"image" | "video" | "audio" | "document" | "other"
One of image, video, audio, document, or other.