Interface NetworkSettings.Builder

  • Method Details

    • enableClientMetrics

      NetworkSettings.Builder enableClientMetrics(Boolean enableClientMetrics)

      Allows Wickr clients to send anonymized performance and usage metrics to the Wickr backend server for service improvement and troubleshooting.

      Parameters:
      enableClientMetrics - Allows Wickr clients to send anonymized performance and usage metrics to the Wickr backend server for service improvement and troubleshooting.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • readReceiptConfig

      NetworkSettings.Builder readReceiptConfig(ReadReceiptConfig readReceiptConfig)

      Configuration for read receipts at the network level, controlling the default behavior for whether senders can see when their messages have been read.

      Parameters:
      readReceiptConfig - Configuration for read receipts at the network level, controlling the default behavior for whether senders can see when their messages have been read.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • readReceiptConfig

      default NetworkSettings.Builder readReceiptConfig(Consumer<ReadReceiptConfig.Builder> readReceiptConfig)

      Configuration for read receipts at the network level, controlling the default behavior for whether senders can see when their messages have been read.

      This is a convenience method that creates an instance of the ReadReceiptConfig.Builder avoiding the need to create one manually via ReadReceiptConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to readReceiptConfig(ReadReceiptConfig).

      Parameters:
      readReceiptConfig - a consumer that will call methods on ReadReceiptConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • dataRetention

      NetworkSettings.Builder dataRetention(Boolean dataRetention)

      Indicates whether the data retention feature is enabled for the network. When true, messages are captured by the data retention bot for compliance and archiving purposes.

      Parameters:
      dataRetention - Indicates whether the data retention feature is enabled for the network. When true, messages are captured by the data retention bot for compliance and archiving purposes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.