Table of Contents

Class PopupMenuItem

Namespace
IO.Scanbot.Sdk.Ui_v2.Common
Assembly
DocumentSDK.NET.Droid.dll
[Register("io/scanbot/sdk/ui_v2/common/PopupMenuItem", DoNotGenerateAcw = true)]
public sealed class PopupMenuItem : Object, IParcelable, IJavaObject, IJavaPeerable, IDisposable
Inheritance
PopupMenuItem
Implements
Inherited Members

Constructors

PopupMenuItem()

[Register(".ctor", "()V", "")]
public PopupMenuItem()

PopupMenuItem(StyledText, string, IconStyle)

[Register(".ctor", "(Lio/scanbot/sdk/ui_v2/common/StyledText;Ljava/lang/String;Lio/scanbot/sdk/ui_v2/common/IconStyle;)V", "")]
public PopupMenuItem(StyledText title, string accessibilityDescription, IconStyle icon)

Parameters

title StyledText
accessibilityDescription string
icon IconStyle

PopupMenuItem(JSONObject)

[Register(".ctor", "(Lorg/json/JSONObject;)V", "")]
public PopupMenuItem(JSONObject json)

Parameters

json JSONObject

PopupMenuItem(IDictionary<string, Object>)

[Register(".ctor", "(Ljava/util/Map;)V", "")]
public PopupMenuItem(IDictionary<string, Object> source)

Parameters

source IDictionary<string, Object>

Properties

AccessibilityDescription

public string AccessibilityDescription { get; set; }

Property Value

string

Creator

[Register("CREATOR")]
public static IParcelableCreator Creator { get; }

Property Value

IParcelableCreator

Icon

public IconStyle Icon { get; set; }

Property Value

IconStyle

Title

public StyledText Title { get; set; }

Property Value

StyledText

Methods

Component1()

[Register("component1", "()Lio/scanbot/sdk/ui_v2/common/StyledText;", "")]
public StyledText Component1()

Returns

StyledText

Component2()

[Register("component2", "()Ljava/lang/String;", "")]
public string Component2()

Returns

string

Component3()

[Register("component3", "()Lio/scanbot/sdk/ui_v2/common/IconStyle;", "")]
public IconStyle Component3()

Returns

IconStyle

Copy(StyledText, string, IconStyle)

[Register("copy", "(Lio/scanbot/sdk/ui_v2/common/StyledText;Ljava/lang/String;Lio/scanbot/sdk/ui_v2/common/IconStyle;)Lio/scanbot/sdk/ui_v2/common/PopupMenuItem;", "")]
public PopupMenuItem Copy(StyledText title, string accessibilityDescription, IconStyle icon)

Parameters

title StyledText
accessibilityDescription string
icon IconStyle

Returns

PopupMenuItem

Default()

[Register("default", "()Lio/scanbot/sdk/ui_v2/common/PopupMenuItem;", "")]
public static PopupMenuItem Default()

Returns

PopupMenuItem

DescribeContents()

Describe the kinds of special objects contained in this Parcelable instance's marshaled representation.

[Register("describeContents", "()I", "")]
public int DescribeContents()

Returns

int

a bitmask indicating the set of special object types marshaled by this Parcelable object instance.

Remarks

Java documentation for

android.os.Parcelable.describeContents()
.

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.

ToJson()

[Register("toJson", "()Lorg/json/JSONObject;", "")]
public JSONObject ToJson()

Returns

JSONObject

WriteToParcel(Parcel, ParcelableWriteFlags)

Flatten this object in to a Parcel.

[Register("writeToParcel", "(Landroid/os/Parcel;I)V", "")]
public void WriteToParcel(Parcel @out, ParcelableWriteFlags flags)

Parameters

out Parcel
flags ParcelableWriteFlags

Additional flags about how the object should be written. May be 0 or #PARCELABLE_WRITE_RETURN_VALUE.

Remarks

Java documentation for

android.os.Parcelable.writeToParcel(android.os.Parcel, int)
.

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.