getPresentationResultSync

Synchronously preemptively gets the result of registering an event.

This helps you determine whether a particular event will present a paywall in the future.

Note that this method does not present a paywall. To do that, use register(placement:params:handler:feature:).

Warning: This blocks the calling thread.

Return

A PresentationResult that indicates the result of registering an event.

Parameters

placement

The name of the event you want to register.

params

Optional parameters you'd like to pass with your event.