lightbulb_outline Help shape the future of the Google Play Console, Android Studio, and Firebase. Start survey
added in API level 1

ObjectInputValidation

public interface ObjectInputValidation

java.io.ObjectInputValidation


Callback interface to allow validation of objects within a graph. Allows an object to be called when a complete graph of objects has been deserialized.

Summary

Public methods

abstract void validateObject()

Validates the object.

Public methods

validateObject

added in API level 1
public abstract void validateObject ()

Validates the object.

Throws
InvalidObjectException If the object cannot validate itself.