## Classes

<dl>
<dt><a href="#BaseMediaListItem">BaseMediaListItem</a> ⇐ <code>BaseDirective</code></dt>
<dd></dd>
<dt><a href="#BaseMediaListItem">BaseMediaListItem</a></dt>
<dd></dd>
</dl>

<a name="BaseMediaListItem"></a>

## BaseMediaListItem ⇐ <code>BaseDirective</code>
**Kind**: global class  
**Extends**: <code>BaseDirective</code>  

* [BaseMediaListItem](#BaseMediaListItem) ⇐ <code>BaseDirective</code>
    * [new BaseMediaListItem(title, titleSubtext1)](#new_BaseMediaListItem_new)
    * [.setToken(token)](#BaseMediaListItem+setToken)
    * [.setFavorited(bool)](#BaseMediaListItem+setFavorited)
    * [.setImage(image)](#BaseMediaListItem+setImage)
    * [.setTitleSubtext1(titleSubtext1)](#BaseMediaListItem+setTitleSubtext1)
    * [.setTitleSubtext2(titleSubtext2)](#BaseMediaListItem+setTitleSubtext2)

<a name="new_BaseMediaListItem_new"></a>

### new BaseMediaListItem(title, titleSubtext1)
构造方法


| Param | Type | Description |
| --- | --- | --- |
| title | <code>string</code> | 音频|视频类型 |
| titleSubtext1 | <code>string</code> | 音频|视频类型 |

<a name="BaseMediaListItem+setToken"></a>

### baseMediaListItem.setToken(token)
设置token

**Kind**: instance method of [<code>BaseMediaListItem</code>](#BaseMediaListItem)  

| Param | Type | Description |
| --- | --- | --- |
| token | <code>string</code> | token |

<a name="BaseMediaListItem+setFavorited"></a>

### baseMediaListItem.setFavorited(bool)
设置isFavorited

**Kind**: instance method of [<code>BaseMediaListItem</code>](#BaseMediaListItem)  

| Param | Type | Description |
| --- | --- | --- |
| bool | <code>boolean</code> | 是否是喜欢的 |

<a name="BaseMediaListItem+setImage"></a>

### baseMediaListItem.setImage(image)
设置image

**Kind**: instance method of [<code>BaseMediaListItem</code>](#BaseMediaListItem)  

| Param | Type | Description |
| --- | --- | --- |
| image | <code>string</code> | 图片url |

<a name="BaseMediaListItem+setTitleSubtext1"></a>

### baseMediaListItem.setTitleSubtext1(titleSubtext1)
设置titleSubtext1

**Kind**: instance method of [<code>BaseMediaListItem</code>](#BaseMediaListItem)  

| Param | Type | Description |
| --- | --- | --- |
| titleSubtext1 | <code>string</code> | 一级子标题 |

<a name="BaseMediaListItem+setTitleSubtext2"></a>

### baseMediaListItem.setTitleSubtext2(titleSubtext2)
设置titleSubtext2

**Kind**: instance method of [<code>BaseMediaListItem</code>](#BaseMediaListItem)  

| Param | Type | Description |
| --- | --- | --- |
| titleSubtext2 | <code>string</code> | 二级子标题 |

<a name="BaseMediaListItem"></a>

## BaseMediaListItem
**Kind**: global class  

* [BaseMediaListItem](#BaseMediaListItem)
    * [new BaseMediaListItem(title, titleSubtext1)](#new_BaseMediaListItem_new)
    * [.setToken(token)](#BaseMediaListItem+setToken)
    * [.setFavorited(bool)](#BaseMediaListItem+setFavorited)
    * [.setImage(image)](#BaseMediaListItem+setImage)
    * [.setTitleSubtext1(titleSubtext1)](#BaseMediaListItem+setTitleSubtext1)
    * [.setTitleSubtext2(titleSubtext2)](#BaseMediaListItem+setTitleSubtext2)

<a name="new_BaseMediaListItem_new"></a>

### new BaseMediaListItem(title, titleSubtext1)
构造方法


| Param | Type | Description |
| --- | --- | --- |
| title | <code>string</code> | 音频|视频类型 |
| titleSubtext1 | <code>string</code> | 音频|视频类型 |

<a name="BaseMediaListItem+setToken"></a>

### baseMediaListItem.setToken(token)
设置token

**Kind**: instance method of [<code>BaseMediaListItem</code>](#BaseMediaListItem)  

| Param | Type | Description |
| --- | --- | --- |
| token | <code>string</code> | token |

<a name="BaseMediaListItem+setFavorited"></a>

### baseMediaListItem.setFavorited(bool)
设置isFavorited

**Kind**: instance method of [<code>BaseMediaListItem</code>](#BaseMediaListItem)  

| Param | Type | Description |
| --- | --- | --- |
| bool | <code>boolean</code> | 是否是喜欢的 |

<a name="BaseMediaListItem+setImage"></a>

### baseMediaListItem.setImage(image)
设置image

**Kind**: instance method of [<code>BaseMediaListItem</code>](#BaseMediaListItem)  

| Param | Type | Description |
| --- | --- | --- |
| image | <code>string</code> | 图片url |

<a name="BaseMediaListItem+setTitleSubtext1"></a>

### baseMediaListItem.setTitleSubtext1(titleSubtext1)
设置titleSubtext1

**Kind**: instance method of [<code>BaseMediaListItem</code>](#BaseMediaListItem)  

| Param | Type | Description |
| --- | --- | --- |
| titleSubtext1 | <code>string</code> | 一级子标题 |

<a name="BaseMediaListItem+setTitleSubtext2"></a>

### baseMediaListItem.setTitleSubtext2(titleSubtext2)
设置titleSubtext2

**Kind**: instance method of [<code>BaseMediaListItem</code>](#BaseMediaListItem)  

| Param | Type | Description |
| --- | --- | --- |
| titleSubtext2 | <code>string</code> | 二级子标题 |

