Class AppSearchResult<ValueType>
public class AppSearchResult<ValueType> : JVMBridgeBase<AppSearchResult<ValueType>>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition
Type Parameters
ValueType
- Inheritance
-
JVMBridgeBase<AppSearchResult<ValueType>>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
initializerIJVMBridgeBaseInitializer
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements java.lang.AutoCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
RESULT_ALREADY_EXISTS
public static int RESULT_ALREADY_EXISTS { get; set; }
Property Value
RESULT_DENIED
public static int RESULT_DENIED { get; set; }
Property Value
RESULT_INTERNAL_ERROR
public static int RESULT_INTERNAL_ERROR { get; set; }
Property Value
RESULT_INVALID_ARGUMENT
public static int RESULT_INVALID_ARGUMENT { get; set; }
Property Value
RESULT_INVALID_SCHEMA
public static int RESULT_INVALID_SCHEMA { get; set; }
Property Value
RESULT_IO_ERROR
public static int RESULT_IO_ERROR { get; set; }
Property Value
RESULT_NOT_FOUND
public static int RESULT_NOT_FOUND { get; set; }
Property Value
RESULT_OK
public static int RESULT_OK { get; set; }
Property Value
RESULT_OUT_OF_SPACE
public static int RESULT_OUT_OF_SPACE { get; set; }
Property Value
RESULT_RATE_LIMITED
public static int RESULT_RATE_LIMITED { get; set; }
Property Value
RESULT_SECURITY_ERROR
public static int RESULT_SECURITY_ERROR { get; set; }
Property Value
RESULT_UNKNOWN_ERROR
public static int RESULT_UNKNOWN_ERROR { get; set; }
Property Value
Methods
GetErrorMessage()
https://developer.android.com/reference/android/app/appsearch/AppSearchResult.html#getErrorMessage()
public String GetErrorMessage()
Returns
GetResultCode()
public int GetResultCode()
Returns
GetResultValue()
public ValueType GetResultValue()
Returns
- ValueType
ValueType
IsSuccess()
public bool IsSuccess()
Returns
NewFailedResult(int, String)
public static AppSearchResult<ValueType> NewFailedResult(int arg0, String arg1)
Parameters
Returns
- AppSearchResult<ValueType>
NewSuccessfulResult(ValueType)
public static AppSearchResult<ValueType> NewSuccessfulResult(ValueType arg0)
Parameters
arg0ValueTypeValueType
Returns
- AppSearchResult<ValueType>
Operators
implicit operator AppSearchResult(AppSearchResult<ValueType>)
Converter from AppSearchResult<ValueType> to AppSearchResult
public static implicit operator AppSearchResult(AppSearchResult<ValueType> t)
Parameters
tAppSearchResult<ValueType>