AccessState Enum

Namespace
Shiny
Interfaces
  • IComparable
  • IFormattable
  • IConvertible
Base Types
  • object
  • ValueType
  • Enum
graph BT Type-->Base0["Enum"] Base0-->Base1["ValueType"] Base1-->Base2["object"] Type-.->Interface0["IComparable"] Type-.->Interface1["IFormattable"] Type-.->Interface2["IConvertible"] Type["AccessState"] class Type type-node

Syntax

public enum AccessState

Fields

Name Constant Value Summary
Available 6
All necessary permissions are granted to the service
static
Denied 5
The user denied permission to use the service
static
Disabled 3
The service has been disabled by the user
static
NotSetup 2
This implies you need to setup something in your: Android: AndroidManifest.xml iOS: Info.plist UWP: appx
static
NotSupported 1
API requiring permission is not even supported on current peripheral or platform
static
Restricted 4
The permission has been granted in a limited fashion (ie. Location in foreground only, when background was requested)
static
Unknown 0
The permission has not yet been checked or is in some unknown state within the OS
static

Extension Methods

Name Value Summary
Assert(string, bool) void
GetPropertyInfo<AccessState, TRet>(Expression<Func<AccessState, TRet>>) PropertyInfo
Reflects out property information based on the expression value
ReflectGet(string) object
Gets an objects property dynamically through reflection - will throw an exception if proper has no getter or property does not exists
ReflectGet<AccessState, TReturn>(Expression<Func<AccessState, TReturn>>) TReturn
Gets an objects property dynamically through reflection - will throw an exception if proper has no getter or property does not exists
ReflectSet(string, object) void
Sets an objects property dynamically through reflection - will throw an exception if proper has no setter, wrong type, or property does not exists
GitHub