getNetworkSettings
inline suspend fun WickrClient.getNetworkSettings(crossinline block: GetNetworkSettingsRequest.Builder.() -> Unit): GetNetworkSettingsResponse
Retrieves all network-level settings for a Wickr network, including client metrics, data retention, and other configuration options.
Samples
fun main() {
//sampleStart
// Get network settings with mixed value types
val resp = wickrClient.getNetworkSettings {
networkId = "12345678"
}
//sampleEnd
}
fun main() {
//sampleStart
// Get settings for network with defaults only
val resp = wickrClient.getNetworkSettings {
networkId = "87654321"
}
//sampleEnd
}