Läs på engelska

Dela via


ObjectStreamConstants.ProtocolVersion1 Field

Definition

Caution

This constant will be removed in the future version. Use Java.IO.ObjectStreamProtocol enum directly instead of this field.

A Stream Protocol Version.

C#
[Android.Runtime.Register("PROTOCOL_VERSION_1")]
[System.Obsolete("This constant will be removed in the future version. Use Java.IO.ObjectStreamProtocol enum directly instead of this field.", true)]
public const Java.IO.ObjectStreamProtocol ProtocolVersion1 = 1;

Field Value

Value = 1
Attributes

Remarks

A Stream Protocol Version.

All externalizable data is written in JDK 1.1 external data format after calling this method. This version is needed to write streams containing Externalizable data that can be read by pre-JDK 1.1.6 JVMs.

Added in 1.2.

Java documentation for java.io.ObjectStreamConstants.PROTOCOL_VERSION_1.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

Produkt Versioner (Föråldrad)
.NET for Android (.NET for Android API 34, .NET for Android API 35)