setType

abstract fun setType(type: String): Intent

设置 Intent 的 MIME 类型 (Type)。

Return

返回当前 Intent 对象。

Parameters

type

MIME 类型 (例如 "image/png", "text/plain")。