Icon.CreateWithAdaptiveBitmapContentUri Method

Definition

Overloads

CreateWithAdaptiveBitmapContentUri(Uri)

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

CreateWithAdaptiveBitmapContentUri(String)

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

CreateWithAdaptiveBitmapContentUri(Uri)

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

[Android.Runtime.Register("createWithAdaptiveBitmapContentUri", "(Landroid/net/Uri;)Landroid/graphics/drawable/Icon;", "", ApiSince=30)]
public static Android.Graphics.Drawables.Icon CreateWithAdaptiveBitmapContentUri (Android.Net.Uri uri);
[<Android.Runtime.Register("createWithAdaptiveBitmapContentUri", "(Landroid/net/Uri;)Landroid/graphics/drawable/Icon;", "", ApiSince=30)>]
static member CreateWithAdaptiveBitmapContentUri : Android.Net.Uri -> Android.Graphics.Drawables.Icon

Parameters

uri
Uri

A uri referring to local content:// or file:// image data.

Returns

Attributes

Remarks

Create an Icon pointing to an image file specified by URI. Image file should follow the icon design guideline defined by AdaptiveIconDrawable.

Java documentation for android.graphics.drawable.Icon.createWithAdaptiveBitmapContentUri(android.net.Uri).

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

CreateWithAdaptiveBitmapContentUri(String)

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

[Android.Runtime.Register("createWithAdaptiveBitmapContentUri", "(Ljava/lang/String;)Landroid/graphics/drawable/Icon;", "", ApiSince=30)]
public static Android.Graphics.Drawables.Icon CreateWithAdaptiveBitmapContentUri (string uri);
[<Android.Runtime.Register("createWithAdaptiveBitmapContentUri", "(Ljava/lang/String;)Landroid/graphics/drawable/Icon;", "", ApiSince=30)>]
static member CreateWithAdaptiveBitmapContentUri : string -> Android.Graphics.Drawables.Icon

Parameters

uri
String

A uri referring to local content:// or file:// image data.

Returns

Attributes

Remarks

Create an Icon pointing to an image file specified by URI. Image file should follow the icon design guideline defined by AdaptiveIconDrawable.

Java documentation for android.graphics.drawable.Icon.createWithAdaptiveBitmapContentUri(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