PushManager

constructor(pointer: <Error class: unknown class>)


constructor(noPointer: NoPointer)

This constructor can be used to instantiate a fake object. Only used for tests. Any attempt to actually use an object constructed this way will fail as there is no connected Rust object.


constructor(config: PushConfiguration)

Creates a new `PushManager` object, not subscribed to any channels

Arguments

  • config: The PushConfiguration for the PushManager

Errors

Returns an error in the following cases:

  • PushManager is unable to open the database_path given