Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.
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.