---
title: "MediaContentType"
description: "媒体对象可能的内容类型"
doc_type: graphql
doc_category: storefront
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/zh-hans-cn/docs/storefront-api/common-objects/enums/media-content-type'
  md: 'https://developer.shopline.com/zh-hans-cn/docs/storefront-api/common-objects/enums/media-content-type.md'
---
# MediaContentType

媒体对象可能的内容类型

- **API Version:** v20270301
- **API Type:** Storefront
- **API Protocol:** GraphQL
- **Operation Type:** Enum

## Type Signature

`MediaContentType`

## Values

* `IMAGE`

  Shopline 托管的图片

* `VIDEO`

  Shopline 托管的视频

* `EXTERNAL_VIDEO`

  外部托管视频

## Schema Definition

```graphql
enum MediaContentType { 
	IMAGE 
	VIDEO 
	EXTERNAL_VIDEO  
}
```

## Field from

* [Video](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/common-objects/objects/video.md).mediaContentType

  媒体内容类型

* [ExternalVideo](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/common-objects/objects/external-video.md).mediaContentType

  媒体内容类型

* [Media](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/common-objects/interfaces/media.md).mediaContentType

  媒体内容类型

* [MediaImage](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/common-objects/objects/media-image.md).mediaContentType

  媒体内容类型

## Error Handling

关于更多通用错误码说明，参考：[状态码和错误码](https://developer.shopline.com/zh-hans-cn/docs/apps/api-instructions-for-use/storefront-api/overview.md#status-and-error-codes)。

