Table of Contents

Class AppSearchResult<ValueType>

Namespace
Android.App.Appsearch
Assembly
MASES.Netdroid.dll
public class AppSearchResult<ValueType> : JVMBridgeBase<AppSearchResult<ValueType>>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition

Type Parameters

ValueType
Inheritance
AppSearchResult<ValueType>
Implements
Extension Methods

Constructors

AppSearchResult(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 AppSearchResult(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

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

RESULT_ALREADY_EXISTS

public static int RESULT_ALREADY_EXISTS { get; set; }

Property Value

int

RESULT_DENIED

public static int RESULT_DENIED { get; set; }

Property Value

int

RESULT_INTERNAL_ERROR

public static int RESULT_INTERNAL_ERROR { get; set; }

Property Value

int

RESULT_INVALID_ARGUMENT

public static int RESULT_INVALID_ARGUMENT { get; set; }

Property Value

int

RESULT_INVALID_SCHEMA

public static int RESULT_INVALID_SCHEMA { get; set; }

Property Value

int

RESULT_IO_ERROR

public static int RESULT_IO_ERROR { get; set; }

Property Value

int

RESULT_NOT_FOUND

public static int RESULT_NOT_FOUND { get; set; }

Property Value

int

RESULT_OK

public static int RESULT_OK { get; set; }

Property Value

int

RESULT_OUT_OF_SPACE

public static int RESULT_OUT_OF_SPACE { get; set; }

Property Value

int

RESULT_RATE_LIMITED

public static int RESULT_RATE_LIMITED { get; set; }

Property Value

int

RESULT_SECURITY_ERROR

public static int RESULT_SECURITY_ERROR { get; set; }

Property Value

int

RESULT_UNKNOWN_ERROR

public static int RESULT_UNKNOWN_ERROR { get; set; }

Property Value

int

Methods

GetErrorMessage()

public String GetErrorMessage()

Returns

String

String

GetResultCode()

public int GetResultCode()

Returns

int

int

GetResultValue()

public ValueType GetResultValue()

Returns

ValueType

ValueType

IsSuccess()

public bool IsSuccess()

Returns

bool

bool

NewFailedResult(int, String)

public static AppSearchResult<ValueType> NewFailedResult(int arg0, String arg1)

Parameters

arg0 int

int

arg1 String

String

Returns

AppSearchResult<ValueType>

AppSearchResult

NewSuccessfulResult(ValueType)

public static AppSearchResult<ValueType> NewSuccessfulResult(ValueType arg0)

Parameters

arg0 ValueType

ValueType

Returns

AppSearchResult<ValueType>

AppSearchResult

Operators

implicit operator AppSearchResult(AppSearchResult<ValueType>)

public static implicit operator AppSearchResult(AppSearchResult<ValueType> t)

Parameters

t AppSearchResult<ValueType>

Returns

AppSearchResult