Table of Contents

Class Icon

Namespace
Android.Graphics.Drawable
Assembly
MASES.Netdroid.dll
public class Icon : Parcelable, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, IParcelable
Inheritance
Icon
Implements
Inherited Members
Extension Methods

Constructors

Icon(IJVMBridgeBaseInitializer)

Initializer used internally by JCOBridge. Do not use directly.

[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public Icon(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

CREATOR

public static Parcelable.Creator CREATOR { get; set; }

Property Value

Parcelable.Creator

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements java.lang.AutoCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

TYPE_ADAPTIVE_BITMAP

public static int TYPE_ADAPTIVE_BITMAP { get; set; }

Property Value

int

TYPE_BITMAP

public static int TYPE_BITMAP { get; set; }

Property Value

int

TYPE_DATA

public static int TYPE_DATA { get; set; }

Property Value

int

TYPE_RESOURCE

public static int TYPE_RESOURCE { get; set; }

Property Value

int

TYPE_URI

public static int TYPE_URI { get; set; }

Property Value

int

TYPE_URI_ADAPTIVE_BITMAP

public static int TYPE_URI_ADAPTIVE_BITMAP { get; set; }

Property Value

int

Methods

CreateWithAdaptiveBitmap(Bitmap)

public static Icon CreateWithAdaptiveBitmap(Bitmap arg0)

Parameters

arg0 Bitmap

Bitmap

Returns

Icon

Icon

CreateWithAdaptiveBitmapContentUri(Uri)

public static Icon CreateWithAdaptiveBitmapContentUri(Uri arg0)

Parameters

arg0 Uri

Uri

Returns

Icon

Icon

CreateWithAdaptiveBitmapContentUri(String)

public static Icon CreateWithAdaptiveBitmapContentUri(String arg0)

Parameters

arg0 String

String

Returns

Icon

Icon

CreateWithBitmap(Bitmap)

public static Icon CreateWithBitmap(Bitmap arg0)

Parameters

arg0 Bitmap

Bitmap

Returns

Icon

Icon

CreateWithContentUri(Uri)

public static Icon CreateWithContentUri(Uri arg0)

Parameters

arg0 Uri

Uri

Returns

Icon

Icon

CreateWithContentUri(String)

public static Icon CreateWithContentUri(String arg0)

Parameters

arg0 String

String

Returns

Icon

Icon

CreateWithData(byte[], int, int)

public static Icon CreateWithData(byte[] arg0, int arg1, int arg2)

Parameters

arg0 byte[]

byte

arg1 int

int

arg2 int

int

Returns

Icon

Icon

CreateWithFilePath(String)

public static Icon CreateWithFilePath(String arg0)

Parameters

arg0 String

String

Returns

Icon

Icon

CreateWithResource(Context, int)

public static Icon CreateWithResource(Context arg0, int arg1)

Parameters

arg0 Context

Context

arg1 int

int

Returns

Icon

Icon

CreateWithResource(String, int)

public static Icon CreateWithResource(String arg0, int arg1)

Parameters

arg0 String

String

arg1 int

int

Returns

Icon

Icon

DescribeContents()

public int DescribeContents()

Returns

int

int

GetResId()

public int GetResId()

Returns

int

int

GetResPackage()

public String GetResPackage()

Returns

String

String

GetType()

public int GetType()

Returns

int

int

GetUri()

public Uri GetUri()

Returns

Uri

Uri

LoadDrawable(Context)

public Drawable LoadDrawable(Context arg0)

Parameters

arg0 Context

Context

Returns

Drawable

Drawable

LoadDrawableAsync(Context, OnDrawableLoadedListener, Handler)

public void LoadDrawableAsync(Context arg0, Icon.OnDrawableLoadedListener arg1, Handler arg2)

Parameters

arg0 Context

Context

arg1 Icon.OnDrawableLoadedListener

Icon.OnDrawableLoadedListener

arg2 Handler

Handler

LoadDrawableAsync(Context, Message)

public void LoadDrawableAsync(Context arg0, Message arg1)

Parameters

arg0 Context

Context

arg1 Message

Message

SetTint(int)

public Icon SetTint(int arg0)

Parameters

arg0 int

int

Returns

Icon

Icon

SetTintBlendMode(BlendMode)

public Icon SetTintBlendMode(BlendMode arg0)

Parameters

arg0 BlendMode

BlendMode

Returns

Icon

Icon

SetTintList(ColorStateList)

public Icon SetTintList(ColorStateList arg0)

Parameters

arg0 ColorStateList

ColorStateList

Returns

Icon

Icon

SetTintMode(Mode)

public Icon SetTintMode(PorterDuff.Mode arg0)

Parameters

arg0 PorterDuff.Mode

PorterDuff.Mode

Returns

Icon

Icon

WriteToParcel(Parcel, int)

public void WriteToParcel(Parcel arg0, int arg1)

Parameters

arg0 Parcel

Parcel

arg1 int

int