API reference

LaunchBlockFlowResult Class

It's used to block a user. Results of the launched block dialog including whether the user was successfully blocked and whether the viewer canceled the block flow. It can be retrieved using com.meta.horizon.platform.ovr.requests.Users#launchBlockFlow(long userID)

Constructors

LaunchBlockFlowResult ( ptr )
Signature
com.meta.horizon.platform.ovr.models.LaunchBlockFlowResult.LaunchBlockFlowResult(final long ptr)
Parameters
ptr: final long

Methods

getDidBlock ()
A boolean indicates whether the viewer successfully blocked the user. Learn more about blocking users from our website.
Signature
boolean com.meta.horizon.platform.ovr.models.LaunchBlockFlowResult.getDidBlock()
Returns
boolean  boolean
getDidCancel ()
A boolean indicates whether the viewer chose to cancel the block flow. It will be 'true' if the viewer canceled 'Block' from the modal.
Signature
boolean com.meta.horizon.platform.ovr.models.LaunchBlockFlowResult.getDidCancel()
Returns
boolean  boolean