次の方法で共有


Icon.CreateWithFilePath(String) メソッド

定義

パスで指定されたイメージ ファイルを指すアイコンを作成します。

[Android.Runtime.Register("createWithFilePath", "(Ljava/lang/String;)Landroid/graphics/drawable/Icon;", "", ApiSince=23)]
public static Android.Graphics.Drawables.Icon CreateWithFilePath (string? path);
[<Android.Runtime.Register("createWithFilePath", "(Ljava/lang/String;)Landroid/graphics/drawable/Icon;", "", ApiSince=23)>]
static member CreateWithFilePath : string -> Android.Graphics.Drawables.Icon

パラメーター

path
String

デコードできる型 android.graphics.BitmapFactory の圧縮ビットマップ データを含むファイルへのパス。

戻り値

属性

注釈

パスで指定されたイメージ ファイルを指すアイコンを作成します。

の Java ドキュメントandroid.graphics.drawable.Icon.createWithFilePath(java.lang.String)

このページの一部は、Android オープンソース プロジェクトによって作成および共有され、クリエイティブ コモンズ 2.5 属性ライセンスに記載されている条件に従って使用される作業に基づく変更です。

適用対象