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>IBufferMessageIMessage
- Inherited Members
Constructors
TextInputTraits()
public TextInputTraits()
TextInputTraits(TextInputTraits)
public TextInputTraits(TextInputTraits other)
Parameters
otherTextInputTraits
Fields
AutocapitalizationTypeFieldNumber
Field number for the "autocapitalizationType" field.
public const int AutocapitalizationTypeFieldNumber = 1
Field Value
AutocorrectionFieldNumber
Field number for the "autocorrection" field.
public const int AutocorrectionFieldNumber = 4
Field Value
EnablesReturnKeyAutomaticallyFieldNumber
Field number for the "enablesReturnKeyAutomatically" field.
public const int EnablesReturnKeyAutomaticallyFieldNumber = 6
Field Value
KeyboardTypeFieldNumber
Field number for the "keyboardType" field.
public const int KeyboardTypeFieldNumber = 2
Field Value
PINEntrySeparatorIndexesFieldNumber
Field number for the "pINEntrySeparatorIndexes" field.
public const int PINEntrySeparatorIndexesFieldNumber = 10
Field Value
ReturnKeyTypeFieldNumber
Field number for the "returnKeyType" field.
public const int ReturnKeyTypeFieldNumber = 3
Field Value
SecureTextEntryFieldNumber
Field number for the "secureTextEntry" field.
public const int SecureTextEntryFieldNumber = 7
Field Value
SpellcheckingFieldNumber
Field number for the "spellchecking" field.
public const int SpellcheckingFieldNumber = 5
Field Value
ValidTextRangeLengthFieldNumber
Field number for the "validTextRangeLength" field.
public const int ValidTextRangeLengthFieldNumber = 9
Field Value
ValidTextRangeLocationFieldNumber
Field number for the "validTextRangeLocation" field.
public const int ValidTextRangeLocationFieldNumber = 8
Field Value
Properties
AutocapitalizationType
public AutocapitalizationType.Types.Enum AutocapitalizationType { get; set; }
Property Value
Autocorrection
public bool Autocorrection { get; set; }
Property Value
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
EnablesReturnKeyAutomatically
public bool EnablesReturnKeyAutomatically { get; set; }
Property Value
HasAutocapitalizationType
Gets whether the "autocapitalizationType" field is set
public bool HasAutocapitalizationType { get; }
Property Value
HasAutocorrection
Gets whether the "autocorrection" field is set
public bool HasAutocorrection { get; }
Property Value
HasEnablesReturnKeyAutomatically
Gets whether the "enablesReturnKeyAutomatically" field is set
public bool HasEnablesReturnKeyAutomatically { get; }
Property Value
HasKeyboardType
Gets whether the "keyboardType" field is set
public bool HasKeyboardType { get; }
Property Value
HasReturnKeyType
Gets whether the "returnKeyType" field is set
public bool HasReturnKeyType { get; }
Property Value
HasSecureTextEntry
Gets whether the "secureTextEntry" field is set
public bool HasSecureTextEntry { get; }
Property Value
HasSpellchecking
Gets whether the "spellchecking" field is set
public bool HasSpellchecking { get; }
Property Value
HasValidTextRangeLength
Gets whether the "validTextRangeLength" field is set
public bool HasValidTextRangeLength { get; }
Property Value
HasValidTextRangeLocation
Gets whether the "validTextRangeLocation" field is set
public bool HasValidTextRangeLocation { get; }
Property Value
KeyboardType
public KeyboardType.Types.Enum KeyboardType { get; set; }
Property Value
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
SecureTextEntry
public bool SecureTextEntry { get; set; }
Property Value
Spellchecking
public bool Spellchecking { get; set; }
Property Value
ValidTextRangeLength
public ulong ValidTextRangeLength { get; set; }
Property Value
ValidTextRangeLocation
public ulong ValidTextRangeLocation { get; set; }
Property Value
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
otherTextInputTraitsAn object to compare with this object.
Returns
Equals(object)
Determines whether the specified object is equal to the current object.
public override bool Equals(object other)
Parameters
otherobject
Returns
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
otherTextInputTraits
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
inputCodedInputStream
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
outputCodedOutputStreamCoded output stream to write the data to. Must not be null.