Class CameraImage

  • All Implemented Interfaces:
    android.os.Parcelable

    public class CameraImage
    extends java.lang.Object
    implements android.os.Parcelable
    Defines CameraImage class
    Since:
    2022-03-01
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface android.os.Parcelable

        android.os.Parcelable.ClassLoaderCreator<T extends java.lang.Object>, android.os.Parcelable.Creator<T extends java.lang.Object>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static android.os.Parcelable.Creator<CameraImage> CREATOR
      Regenerates a CameraImage object from parcel.
      • Fields inherited from interface android.os.Parcelable

        CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
        CameraImage​(int imageId, java.lang.String imageName, android.graphics.Bitmap bitmap, java.lang.String path)
      Defines constructor that initializes the instance of this class
      protected CameraImage​(android.os.Parcel in)
      Constructor to initialize CameraImage with data from parcel
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int describeContents()
      Describe the kinds of special objects contained in this Parcelable instance's marshaled representation.
      android.graphics.Bitmap getBitmap()
      Gets bitmap
      java.lang.String getPath()
      Gets image path
      void setPath​(java.lang.String path)
      Sets image path
      void writeToParcel​(android.os.Parcel parcel, int i)
      Writes object data to a parcel
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait