Interface ITextInputService
Provides host-native text input collection for lightweight application flows such as world naming.
public interface ITextInputService
Properties
CurrentText
Gets the current committed text buffer for the active request.
string CurrentText { get; }
Property Value
IsRequestActive
Gets a value indicating whether a text input request is currently active.
bool IsRequestActive { get; }
Property Value
Methods
RequestTextAsync(TextInputRequest, CancellationToken)
Begins collecting text input and completes when the request is confirmed or canceled.
Task<string> RequestTextAsync(TextInputRequest request, CancellationToken cancellationToken = default)
Parameters
requestTextInputRequestThe parameters that describe the desired input session.
cancellationTokenCancellationTokenA cancellation token that aborts the request when triggered.