Class JsonColor

  • All Implemented Interfaces:

    public final class JsonColor
     implements Parcelable

    JSON-compatible class for Color

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Modifier and Type Field Description
      private final String hexString
    • Constructor Summary

      Constructor Description
      JsonColor(String hexString)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final String getHexString()
      final Integer toSdk() Converts JSON-compatible object to SDK object
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JsonColor

        JsonColor(String hexString)
        hexString - hex-string representation of the color