internal static extern bool SelfSetTyping(ToxHandle tox, uint friendNumber, [MarshalAs(UnmanagedType.Bool)]bool is_typing, ref ToxErrorSetTyping error);
/// <summary> /// Sets the typing status of this Tox instance for a friend. /// </summary> /// <param name="friendNumber">The friend number to set the typing status for.</param> /// <param name="isTyping">Whether or not we're typing.</param> /// <param name="error"></param> /// <returns>True on success.</returns> public bool SetTypingStatus(int friendNumber, bool isTyping, out ToxErrorSetTyping error) { ThrowIfDisposed(); error = ToxErrorSetTyping.Ok; return ToxFunctions.SelfSetTyping(_tox, (uint)friendNumber, isTyping, ref error); }
public static extern Boolean SetTyping(ToxHandle tox, UInt32 friendNumber, [MarshalAs(UnmanagedType.Bool)] Boolean typing, ref ToxErrorSetTyping error);