Język

ProtoOutputStream.GetFieldTypeString(Int64) Method

Definition

Get the developer-usable name of a field type.

[Android.Runtime.Register("getFieldTypeString", "(J)Ljava/lang/String;", "", ApiSince=30)]
public static string? GetFieldTypeString(long fieldType);
[<Android.Runtime.Register("getFieldTypeString", "(J)Ljava/lang/String;", "", ApiSince=30)>]
static member GetFieldTypeString : int64 -> string

Parameters

fieldType
Int64

The field type flags to describe. Only the bits selected by FieldTypeMask are used.

Returns

The name of the field type, such as "Double", "String", or "Message"; or null if the masked type code has no name.

Attributes

Remarks

Get the developer-usable name of a field type.

Android reference for android.util.proto.ProtoOutputStream.getFieldTypeString.

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