library
androidJvm
library
/
org.xmtp.android.library
/
PrivatePreferences
Private
Preferences
data
class
PrivatePreferences
(
var
client
:
Client
,
ffiClient
:
FfiXmtpClient
)
Members
Constructors
Private
Preferences
Link copied to clipboard
constructor
(
client
:
Client
,
ffiClient
:
FfiXmtpClient
)
Functions
address
State
Link copied to clipboard
suspend
fun
addressState
(
address
:
String
)
:
ConsentState
conversation
State
Link copied to clipboard
suspend
fun
conversationState
(
groupId
:
String
)
:
ConsentState
inbox
Id
State
Link copied to clipboard
suspend
fun
inboxIdState
(
inboxId
:
String
)
:
ConsentState
set
Consent
State
Link copied to clipboard
suspend
fun
setConsentState
(
entries
:
List
<
ConsentRecord
>
)
stream
Consent
Link copied to clipboard
suspend
fun
streamConsent
(
)
:
Flow
<
ConsentRecord
>
stream
Preference
Updates
Link copied to clipboard
suspend
fun
streamPreferenceUpdates
(
)
:
Flow
<
PreferenceType
>
sync
Consent
Link copied to clipboard
suspend
fun
syncConsent
(
)
Properties
client
Link copied to clipboard
var
client
:
Client