Language

PrintDocumentInfo.Builder.SetContentType(PrintContentType) メソッド

定義

コンテンツ タイプを設定します。

[Android.Runtime.Register("setContentType", "(I)Landroid/print/PrintDocumentInfo$Builder;", "")]
public Android.Print.PrintDocumentInfo.Builder SetContentType(Android.Print.PrintContentType type);
[<Android.Runtime.Register("setContentType", "(I)Landroid/print/PrintDocumentInfo$Builder;", "")>]
member this.SetContentType : Android.Print.PrintContentType -> Android.Print.PrintDocumentInfo.Builder

パラメーター

type
PrintContentType

コンテンツ タイプ。 値は次のいずれかです: PrintDocumentInfo.CONTENT_TYPE_UNKNOWN;PrintDocumentInfo.CONTENT_TYPE_DOCUMENT;PrintDocumentInfo.CONTENT_TYPE_PHOTO

返品

このビルダー。 この値は null にすることはできません。

属性

注釈

コンテンツ タイプを設定します。

既定値: PrintDocumentInfo.CONTENT_TYPE_DOCUMENT

android.print.PrintDocumentInfo.Builder.setContentTypeの Android リファレンス。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象