public interface

VersionProto.VersionInfoOrBuilder

 androidx.wear.protolayout.expression.proto.VersionProto.VersionInfoOrBuilder

Subclasses:

VersionProto.VersionInfo, VersionProto.VersionInfo.Builder

Summary

Methods
public intgetMajor()

 Major version.

public intgetMinor()

 Minor version.

Methods

public int getMajor()

 Major version. Incremented on breaking changes (i.e. compatibility is not
 guaranteed across major versions).
 
uint32 major = 1;

Returns:

The major.

public int getMinor()

 Minor version. Incremented on non-breaking changes (e.g. schema additions).
 Anything consuming a payload can safely consume anything with a lower
 minor version.
 
uint32 minor = 2;

Returns:

The minor.