library
androidJvm
library
/
org.xmtp.android.library.push
/
XMTPPush
XMTPPush
class
XMTPPush
Members
Constructors
XMTPPush
Link copied to clipboard
constructor
(
context
:
Context
,
pushServer
:
String
=
""
)
constructor
(
)
Functions
register
Link copied to clipboard
fun
register
(
token
:
String
)
subscribe
Link copied to clipboard
fun
subscribe
(
topics
:
List
<
String
>
)
subscribe
With
Metadata
Link copied to clipboard
fun
subscribeWithMetadata
(
subscriptions
:
List
<
Service.Subscription
>
)
unsubscribe
Link copied to clipboard
fun
unsubscribe
(
topics
:
List
<
String
>
)
Properties
client
Link copied to clipboard
val
client
:
NotificationsGrpc.NotificationsFutureStub
context
Link copied to clipboard
lateinit
var
context
:
Context
installation
Id
Link copied to clipboard
lateinit
var
installationId
:
String
push
Server
Link copied to clipboard
var
pushServer
:
String