Icon.CreateWithAdaptiveBitmapContentUri Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.
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
.
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.