# Google Cloud Channel V1 Client - Class MediaType (2.4.1)

2.4.1 (latest) 2.4.0 2.3.1 2.2.1 2.1.4 2.0.0 1.9.5 1.8.2 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.1 1.1.1 1.0.1 Reference documentation and code samples for the Google Cloud Channel V1 Client class MediaType.

Type of media used.

Protobuf type `google.cloud.channel.v1.MediaType`

## Namespace

Google \\ Cloud \\ Channel \\ V1

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### MEDIA_TYPE_UNSPECIFIED

    Value: 0

Not used.

Generated from protobuf enum `MEDIA_TYPE_UNSPECIFIED = 0;`

### MEDIA_TYPE_IMAGE

    Value: 1

Type of image.

Generated from protobuf enum `MEDIA_TYPE_IMAGE = 1;`