Table of Contents

Class TextInputTraits

Namespace
AppleTvControlLibrary.Mrp.Protobuf
Assembly
AppleTvControlLibrary.Mrp.dll
public sealed class TextInputTraits : IMessage<TextInputTraits>, IEquatable<TextInputTraits>, IDeepCloneable<TextInputTraits>, IBufferMessage, IMessage
Inheritance
TextInputTraits
Implements
IMessage<TextInputTraits>
IDeepCloneable<TextInputTraits>
IBufferMessage
IMessage
Inherited Members

Constructors

TextInputTraits()

public TextInputTraits()

TextInputTraits(TextInputTraits)

public TextInputTraits(TextInputTraits other)

Parameters

other TextInputTraits

Fields

AutocapitalizationTypeFieldNumber

Field number for the "autocapitalizationType" field.

public const int AutocapitalizationTypeFieldNumber = 1

Field Value

int

AutocorrectionFieldNumber

Field number for the "autocorrection" field.

public const int AutocorrectionFieldNumber = 4

Field Value

int

EnablesReturnKeyAutomaticallyFieldNumber

Field number for the "enablesReturnKeyAutomatically" field.

public const int EnablesReturnKeyAutomaticallyFieldNumber = 6

Field Value

int

KeyboardTypeFieldNumber

Field number for the "keyboardType" field.

public const int KeyboardTypeFieldNumber = 2

Field Value

int

PINEntrySeparatorIndexesFieldNumber

Field number for the "pINEntrySeparatorIndexes" field.

public const int PINEntrySeparatorIndexesFieldNumber = 10

Field Value

int

ReturnKeyTypeFieldNumber

Field number for the "returnKeyType" field.

public const int ReturnKeyTypeFieldNumber = 3

Field Value

int

SecureTextEntryFieldNumber

Field number for the "secureTextEntry" field.

public const int SecureTextEntryFieldNumber = 7

Field Value

int

SpellcheckingFieldNumber

Field number for the "spellchecking" field.

public const int SpellcheckingFieldNumber = 5

Field Value

int

ValidTextRangeLengthFieldNumber

Field number for the "validTextRangeLength" field.

public const int ValidTextRangeLengthFieldNumber = 9

Field Value

int

ValidTextRangeLocationFieldNumber

Field number for the "validTextRangeLocation" field.

public const int ValidTextRangeLocationFieldNumber = 8

Field Value

int

Properties

AutocapitalizationType

public AutocapitalizationType.Types.Enum AutocapitalizationType { get; set; }

Property Value

AutocapitalizationType.Types.Enum

Autocorrection

public bool Autocorrection { get; set; }

Property Value

bool

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

EnablesReturnKeyAutomatically

public bool EnablesReturnKeyAutomatically { get; set; }

Property Value

bool

HasAutocapitalizationType

Gets whether the "autocapitalizationType" field is set

public bool HasAutocapitalizationType { get; }

Property Value

bool

HasAutocorrection

Gets whether the "autocorrection" field is set

public bool HasAutocorrection { get; }

Property Value

bool

HasEnablesReturnKeyAutomatically

Gets whether the "enablesReturnKeyAutomatically" field is set

public bool HasEnablesReturnKeyAutomatically { get; }

Property Value

bool

HasKeyboardType

Gets whether the "keyboardType" field is set

public bool HasKeyboardType { get; }

Property Value

bool

HasReturnKeyType

Gets whether the "returnKeyType" field is set

public bool HasReturnKeyType { get; }

Property Value

bool

HasSecureTextEntry

Gets whether the "secureTextEntry" field is set

public bool HasSecureTextEntry { get; }

Property Value

bool

HasSpellchecking

Gets whether the "spellchecking" field is set

public bool HasSpellchecking { get; }

Property Value

bool

HasValidTextRangeLength

Gets whether the "validTextRangeLength" field is set

public bool HasValidTextRangeLength { get; }

Property Value

bool

HasValidTextRangeLocation

Gets whether the "validTextRangeLocation" field is set

public bool HasValidTextRangeLocation { get; }

Property Value

bool

KeyboardType

public KeyboardType.Types.Enum KeyboardType { get; set; }

Property Value

KeyboardType.Types.Enum

PINEntrySeparatorIndexes

public RepeatedField<ulong> PINEntrySeparatorIndexes { get; }

Property Value

RepeatedField<ulong>

Parser

public static MessageParser<TextInputTraits> Parser { get; }

Property Value

MessageParser<TextInputTraits>

ReturnKeyType

public ReturnKeyType.Types.Enum ReturnKeyType { get; set; }

Property Value

ReturnKeyType.Types.Enum

SecureTextEntry

public bool SecureTextEntry { get; set; }

Property Value

bool

Spellchecking

public bool Spellchecking { get; set; }

Property Value

bool

ValidTextRangeLength

public ulong ValidTextRangeLength { get; set; }

Property Value

ulong

ValidTextRangeLocation

public ulong ValidTextRangeLocation { get; set; }

Property Value

ulong

Methods

CalculateSize()

Calculates the size of this message in Protocol Buffer wire format, in bytes.

public int CalculateSize()

Returns

int

The number of bytes required to write this message to a coded output stream.

ClearAutocapitalizationType()

Clears the value of the "autocapitalizationType" field

public void ClearAutocapitalizationType()

ClearAutocorrection()

Clears the value of the "autocorrection" field

public void ClearAutocorrection()

ClearEnablesReturnKeyAutomatically()

Clears the value of the "enablesReturnKeyAutomatically" field

public void ClearEnablesReturnKeyAutomatically()

ClearKeyboardType()

Clears the value of the "keyboardType" field

public void ClearKeyboardType()

ClearReturnKeyType()

Clears the value of the "returnKeyType" field

public void ClearReturnKeyType()

ClearSecureTextEntry()

Clears the value of the "secureTextEntry" field

public void ClearSecureTextEntry()

ClearSpellchecking()

Clears the value of the "spellchecking" field

public void ClearSpellchecking()

ClearValidTextRangeLength()

Clears the value of the "validTextRangeLength" field

public void ClearValidTextRangeLength()

ClearValidTextRangeLocation()

Clears the value of the "validTextRangeLocation" field

public void ClearValidTextRangeLocation()

Clone()

Creates a deep clone of this object.

public TextInputTraits Clone()

Returns

TextInputTraits

A deep clone of this object.

Equals(TextInputTraits)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(TextInputTraits other)

Parameters

other TextInputTraits

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object)

Determines whether the specified object is equal to the current object.

public override bool Equals(object other)

Parameters

other object

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

MergeFrom(TextInputTraits)

Merges the given message into this one.

public void MergeFrom(TextInputTraits other)

Parameters

other TextInputTraits

Remarks

See the user guide for precise merge semantics.

MergeFrom(CodedInputStream)

Merges the data from the specified coded input stream with the current message.

public void MergeFrom(CodedInputStream input)

Parameters

input CodedInputStream

Remarks

See the user guide for precise merge semantics.

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.

WriteTo(CodedOutputStream)

Writes the data to the given coded output stream.

public void WriteTo(CodedOutputStream output)

Parameters

output CodedOutputStream

Coded output stream to write the data to. Must not be null.