Klasse PolicyEnforcementItem
java.lang.Object
com.restfb.types.webhook.messaging.PolicyEnforcementItem
- Alle implementierten Schnittstellen:
InnerMessagingItem
Represents a receiving postback object as defined here:
https://developers.facebook.com/docs/messenger-platform/webhook-reference/policy-enforcement
-
Feldübersicht
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungboolean
isBlock()
convenience method to check the action of the policy enforcementboolean
convenience method to check the action of the policy enforcementvoid
void
-
Felddetails
-
BLOCK
The "block" action.- Siehe auch:
-
UNBLOCK
The "unblock" action.- Siehe auch:
-
-
Konstruktordetails
-
PolicyEnforcementItem
public PolicyEnforcementItem()
-
-
Methodendetails
-
isBlock
convenience method to check the action of the policy enforcement- Gibt zurück:
true
if block,false
if unblock
-
isUnblock
convenience method to check the action of the policy enforcement- Gibt zurück:
true
if unblock,false
if block
-
getAction
-
setAction
-
getReason
-
setReason
-