APLNativeConfiguration class abstract

Subclass APLNativeConfiguration to provide read only introspection of the properties implemented in the native app's APLConfiguration (iOS) / nz.co.electricbolt.appfiguratelibrary.Configuration (Android) subclass.

For any properties that you with to introspect in Dart, implement as follows depending on the type declared in Obj-C / Swift / Java / Kotlin:

-- Boolean --

Dart:  bool get propertyName => nativeBool('propertyName');

Obj-C:  BOOL_PROPERTY(propertyName, ...);
Swift:  @BoolProperty(...) var propertyName: Bool
Java:   @BooleanProperty(...) boolean propertyName;
Kotlin: @BooleanProperty(...) var propertyName = false

-- String / Encrypted String --

Dart:  String get propertyName => nativeString('propertyName');

Obj-C:  STRING_PROPERTY_EDIT(propertyName, ...);
        STRING_PROPERTY_LIST(propertyName, ...);
        STRING_PROPERTY_LIST_EDIT(propertyName, ...);
        ENCRYPTED_STRING_PROPERTY_LIST_EDIT(propertyName, ...);
Swift:  @StringPropertyEdit(...) var propertyName: String
        @StringPropertyList(...) var propertyName: String
        @StringPropertyListEdit(...) var propertyName: String
        @EncryptedStringPropertyListEdit(...) var propertyName: String
Java:   @StringPropertyEdit(...) String propertyName;
        @StringPropertyList(...) String propertyName;
        @StringPropertyListEdit(...) String propertyName;
        @EncryptedStringPropertyListEdit(...) String propertyName;
Kotlin: @StringPropertyEdit(...) var propertyName: String? = null
        @StringPropertyList(...) var propertyName: String? = null
        @StringPropertyListEdit(...) var propertyName: String? = null
        @EncryptedStringPropertyListEdit(...) var propertyName: String? = null

-- Integer --

Dart:  int get propertyName => nativeInt('propertyName');

Obj-C:  INT_PROPERTY_SLIDER(propertyName, ...);
        INT_PROPERTY_EDIT(propertyName, ...);
        INT_PROPERTY_LIST(propertyName, ...);
        INT_PROPERTY_LIST_EDIT(propertyName ...);
Swift:  @IntPropertySlider(...) var propertyName: Int
        @IntPropertyEdit(...) var propertyName: Int
        @IntPropertyList(...) var propertyName: Int
        @IntPropertyListEdit(...) var propertyName: Int
Java:   @IntPropertySlider(...) int propertyName;
        @IntPropertyEdit(...) int propertyName;
        @IntPropertyList(...) int propertyName;
        @IntPropertyListEdit(...) int propertyName;
Kotlin: @IntPropertySlider(...) var propertyName = 0
        @IntPropertyEdit(...) var propertyName = 0
        @IntPropertyList(...) var propertyName = 0
        @IntPropertyListEdit(...) var propertyName = 0

-- Float / Double --

Dart:  double get propertyName => nativeDouble('propertyName');

Obj-C:  FLOAT_PROPERTY_SLIDER(propertyName, ...);
        FLOAT_PROPERTY_EDIT(propertyName, ...);
        FLOAT_PROPERTY_LIST(propertyName, ...);
        FLOAT_PROPERTY_LIST_EDIT(propertyName, ...);
        DOUBLE_PROPERTY_SLIDER(propertyName, ...);
        DOUBLE_PROPERTY_EDIT(propertyName, ...);
        DOUBLE_PROPERTY_LIST(propertyName, ...);
        DOUBLE_PROPERTY_LIST_EDIT(propertyName, ...);
Swift:  @FloatPropertySlider(...) var propertyName: Float
        @FloatPropertyEdit(...) var propertyName: Float
        @FloatPropertyList(...) var propertyName: Float
        @FloatPropertyListEdit(...) var propertyName: Float
        @DoublePropertySlider(...) var propertyName: Double
        @DoublePropertyEdit(...) var propertyName: Double
        @DoublePropertyList(...) var propertyName: Double
        @DoublePropertyListEdit(...) var propertyName: Double
Java:   @FloatPropertySlider(...) float propertyName;
        @FloatPropertyEdit(...) float propertyName;
        @FloatPropertyList(...) float propertyName;
        @FloatPropertyListEdit(...) float propertyName;
        @DoublePropertySlider(...) double propertyName;
        @DoublePropertyEdit(...) double propertyName;
        @DoublePropertyList(...) double propertyName;
        @DoublePropertyListEdit(...) double propertyName;
Kotlin: @FloatPropertySlider(...) var propertyName = 0.0f
        @FloatPropertyEdit(...) var propertyName = 0.0f
        @FloatPropertyList(...) var propertyName = 0.0f
        @FloatPropertyListEdit(...) var propertyName = 0.0f
        @DoublePropertySlider(...) var propertyName = 0.0
        @DoublePropertyEdit(...) var propertyName = 0.0
        @DoublePropertyList(...) var propertyName = 0.0
        @DoublePropertyListEdit(...) var propertyName = 0.0

Constructors

APLNativeConfiguration()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

actionExecuted(String action) → void
Called when an action is executed.
description() String
Returns the textual representation of all properties.
modifications() String
Returns the textual representation of all properties that have non default (overridden) values.
nativeBool(String propertyName) bool
Introspect the native app's APLConfiguration (iOS) / nz.co.electricbolt.appfiguratelibrary.Configuration (Android) subclass for the BOOL (Obj-C), Bool (Swift), boolean (Java), Boolean (Kotlin) with the propertyName specified.
nativeDouble(String propertyName) double
Introspect the native app's APLConfiguration (iOS) / nz.co.electricbolt.appfiguratelibrary.Configuration (Android) subclass for the float / double (Obj-C, Java), Float / Double (Swift, Kotlin) with the propertyName specified.
nativeInt(String propertyName) int
Introspect the native app's APLConfiguration (iOS) / nz.co.electricbolt.appfiguratelibrary.Configuration (Android) subclass for the NSInteger (Obj-C), Int (Swift, Kotlin), int (Java) with the propertyName specified.
nativeString(String propertyName) String
Introspect the native app's APLConfiguration (iOS) / nz.co.electricbolt.appfiguratelibrary.Configuration (Android) subclass for the NSString (Obj-C), String (Swift, Java, Kotlin) with the propertyName specified.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited