Share via


Icon.CreateWithFilePath(String) Method

Definition

Create an Icon pointing to an image file specified by path.

[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

Parameters

path
String

A path to a file that contains compressed bitmap data of a type that android.graphics.BitmapFactory can decode.

Returns

Attributes

Remarks

Create an Icon pointing to an image file specified by path.

Java documentation for android.graphics.drawable.Icon.createWithFilePath(java.lang.String).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to