Record Class IrisInteropAdapter.Status
java.lang.Object
java.lang.Record
com.render.api.world.compat.IrisInteropAdapter.Status
- Enclosing class:
IrisInteropAdapter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of theapiAvailablerecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefailureReasonrecord component.final inthashCode()Returns a hash code value for this object.booleanReturns the value of theshaderPackActiverecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Status
Creates an instance of aStatusrecord class.- Parameters:
apiAvailable- the value for theapiAvailablerecord componentshaderPackActive- the value for theshaderPackActiverecord componentfailureReason- the value for thefailureReasonrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
apiAvailable
public boolean apiAvailable()Returns the value of theapiAvailablerecord component.- Returns:
- the value of the
apiAvailablerecord component
-
shaderPackActive
public boolean shaderPackActive()Returns the value of theshaderPackActiverecord component.- Returns:
- the value of the
shaderPackActiverecord component
-
failureReason
Returns the value of thefailureReasonrecord component.- Returns:
- the value of the
failureReasonrecord component
-