get Brownie Host If Allowed

protected open fun getBrownieHostIfAllowed(sessionId: String, hostId: String): BrownieHost

Method to retrieve a BrownieHost checking the identifier of the session and its identifier

Return

if the host owned by the session and exists as BrownieHost, null otherwise

Parameters

sessionId

The identifier of the session owner of the host

hostId

The identifier of the host to retrieve