internal static extern UInt32 PartyChatControlSendText( PARTY_CHAT_CONTROL_HANDLE chatControl, UInt32 targetChatControlCount, IntPtr targetChatControls, Byte[] chatText, UInt32 dataBufferCount, IntPtr dataBuffers);
internal static UInt32 WrapAndReturnError(UInt32 error, Interop.PARTY_CHAT_CONTROL_HANDLE interopHandle, out PARTY_CHAT_CONTROL_HANDLE handle) { if (PartyError.SUCCEEDED(error)) { handle = new PARTY_CHAT_CONTROL_HANDLE(interopHandle); } else { handle = default(PARTY_CHAT_CONTROL_HANDLE); } return(error); }
internal static extern UInt32 PartyChatControlGetIncomingTextMuted( PARTY_CHAT_CONTROL_HANDLE chatControl, PARTY_CHAT_CONTROL_HANDLE targetChatControl, out Byte muted);
internal static extern UInt32 PartyDeviceDestroyChatControl( PARTY_DEVICE_HANDLE device, PARTY_CHAT_CONTROL_HANDLE chatControl, IntPtr asyncIdentifier);
internal PARTY_CHAT_CONTROL_HANDLE(Interop.PARTY_CHAT_CONTROL_HANDLE interopHandle) { this.InteropHandle = interopHandle; }
internal static extern UInt32 PartyChatControlSetTextToSpeechProfile( PARTY_CHAT_CONTROL_HANDLE chatControl, PARTY_SYNTHESIZE_TEXT_TO_SPEECH_TYPE type, Byte[] profileIdentifier, IntPtr asyncIdentifier);
unsafe internal static extern UInt32 PartyChatControlConfigureAudioManipulationCaptureStream( PARTY_CHAT_CONTROL_HANDLE chatControl, PARTY_AUDIO_MANIPULATION_SINK_STREAM_CONFIGURATION *configuration, IntPtr asyncIdentifier);
internal static extern UInt32 PartyChatControlGetAudioInput( PARTY_CHAT_CONTROL_HANDLE chatControl, out PARTY_AUDIO_DEVICE_SELECTION_TYPE audioDeviceSelectionType, out UTF8StringPtr audioDeviceSelectionContext, out UTF8StringPtr deviceId);
internal static extern UInt32 PartyChatControlGetLocalUser( PARTY_CHAT_CONTROL_HANDLE chatControl, out PARTY_LOCAL_USER_HANDLE localUser);
internal static extern UInt32 PartyChatControlGetAudioEncoderBitrate( PARTY_CHAT_CONTROL_HANDLE chatControl, out UInt32 bitrate);
internal static extern UInt32 PartyChatControlGetAudioRenderVolume( PARTY_CHAT_CONTROL_HANDLE chatControl, PARTY_CHAT_CONTROL_HANDLE targetChatControl, out float volume);
internal static extern UInt32 PartyChatControlSetAudioInputMuted( PARTY_CHAT_CONTROL_HANDLE chatControl, Byte muted);
unsafe internal static extern UInt32 PartyChatControlGetProperty( PARTY_CHAT_CONTROL_HANDLE chatControl, Byte[] key, out PARTY_DATA_BUFFER *value);
unsafe internal static extern UInt32 PartyChatControlGetNetworks( PARTY_CHAT_CONTROL_HANDLE chatControl, out UInt32 networkCount, out IntPtr networks);
internal static extern UInt32 PartyChatControlGetPermissions( PARTY_CHAT_CONTROL_HANDLE chatControl, PARTY_CHAT_CONTROL_HANDLE targetChatControl, out PARTY_CHAT_PERMISSION_OPTIONS chatPermissionOptions);
internal static extern UInt32 PartyChatControlSetAudioEncoderBitrate( PARTY_CHAT_CONTROL_HANDLE chatControl, UInt32 bitrate, IntPtr asyncIdentifier);
internal static extern UInt32 PartyChatControlSetIncomingAudioMuted( PARTY_CHAT_CONTROL_HANDLE chatControl, PARTY_CHAT_CONTROL_HANDLE targetChatControl, Byte muted);
internal static extern UInt32 PartyChatControlGetEntityId( PARTY_CHAT_CONTROL_HANDLE chatControl, out UTF8StringPtr entityId);
internal static extern UInt32 PartyChatControlSetAudioInput( PARTY_CHAT_CONTROL_HANDLE chatControl, PARTY_AUDIO_DEVICE_SELECTION_TYPE audioDeviceSelectionType, Byte[] audioDeviceSelectionContext, IntPtr asyncIdentifier);
internal static extern UInt32 PartyChatControlGetTranscriptionOptions( PARTY_CHAT_CONTROL_HANDLE chatControl, out PARTY_VOICE_CHAT_TRANSCRIPTION_OPTIONS options);
internal static extern UInt32 PartyChatControlSynthesizeTextToSpeech( PARTY_CHAT_CONTROL_HANDLE chatControl, PARTY_SYNTHESIZE_TEXT_TO_SPEECH_TYPE type, Byte[] textToSynthesize, IntPtr asyncIdentifier);
internal static extern UInt32 PartyChatControlSetTranscriptionOptions( PARTY_CHAT_CONTROL_HANDLE chatControl, PARTY_VOICE_CHAT_TRANSCRIPTION_OPTIONS options, IntPtr asyncIdentifier);
unsafe internal static extern UInt32 PartyChatControlGetPropertyKeys( PARTY_CHAT_CONTROL_HANDLE chatControl, out UInt32 propertyCount, out UTF8StringPtr *keys);
internal static extern UInt32 PartyChatControlPopulateAvailableTextToSpeechProfiles( PARTY_CHAT_CONTROL_HANDLE chatControl, IntPtr asyncIdentifier);
internal static extern UInt32 PartyChatControlGetChatIndicator( PARTY_CHAT_CONTROL_HANDLE chatControl, PARTY_CHAT_CONTROL_HANDLE targetChatControl, out PARTY_CHAT_CONTROL_CHAT_INDICATOR chatIndicator);
internal static extern UInt32 PartyChatControlSetTextChatOptions( PARTY_CHAT_CONTROL_HANDLE chatControl, PARTY_TEXT_CHAT_OPTIONS options, IntPtr asyncIdentifier);
internal static extern UInt32 PartyNetworkDisconnectChatControl( PARTY_NETWORK_HANDLE network, PARTY_CHAT_CONTROL_HANDLE chatControl, IntPtr asyncIdentifier);
internal static extern UInt32 PartyChatControlGetTextChatOptions( PARTY_CHAT_CONTROL_HANDLE chatControl, out PARTY_TEXT_CHAT_OPTIONS options);
internal static extern UInt32 PartyDeviceCreateChatControl( PARTY_DEVICE_HANDLE device, PARTY_LOCAL_USER_HANDLE localUser, Byte[] languageCode, IntPtr asyncIdentifier, out PARTY_CHAT_CONTROL_HANDLE chatControl);
internal static extern UInt32 PartyChatControlIsLocal( PARTY_CHAT_CONTROL_HANDLE chatControl, out Byte isLocal);