Class DeviceProfileCallback

    • Constructor Detail

      • DeviceProfileCallback

        public DeviceProfileCallback​(org.json.JSONObject jsonObject,
                                     int index)
      • DeviceProfileCallback

        public DeviceProfileCallback()
    • Method Detail

      • setAttribute

        protected void setAttribute​(java.lang.String name,
                                    java.lang.Object value)
        Specified by:
        setAttribute in class AbstractCallback
      • setValue

        public void setValue​(java.lang.String value)
      • execute

        public void execute​(android.content.Context context,
                            FRListener<java.lang.Void> listener)
        Specified by:
        execute in interface ActionCallback
      • getType

        public java.lang.String getType()
        Description copied from interface: Callback
        Return the type of the Callback, the type name should align with the Callback type returned from AM
        Specified by:
        getType in interface Callback
      • isMetadata

        public boolean isMetadata()
        Request the SDK to capture device metadata.
      • isLocation

        public boolean isLocation()
        Request the SDK to capture device location.
      • getMessage

        public java.lang.String getMessage()
        The message which should be displayed to the user