public static interface Branch.ExtendedBranchLinkShareListener extends Branch.BranchLinkShareListener
An extended version of Branch.BranchLinkShareListener with callback that supports updating link data or properties after user select a channel to share
This will provide the extended callback onChannelSelected(String, BranchUniversalObject, LinkProperties) only when sharing a link using Branch Universal Object.
| Modifier and Type | Method and Description |
|---|---|
boolean |
onChannelSelected(java.lang.String channelName,
BranchUniversalObject buo,
LinkProperties linkProperties)
Called when user select a channel for sharing a deep link.
|
onChannelSelected, onLinkShareResponse, onShareLinkDialogDismissed, onShareLinkDialogLaunchedboolean onChannelSelected(java.lang.String channelName,
BranchUniversalObject buo,
LinkProperties linkProperties)
Called when user select a channel for sharing a deep link.
This method allows modifying the link data and properties by providing the params BranchUniversalObject and LinkProperties
channelName - The name of the channel user selected for sharing a linkbuo - BranchUniversalObject BUO used for sharing link for updating any paramslinkProperties - LinkProperties associated with the sharing link for updating the propertiestrue to create link with any updates added to the data (BranchUniversalObject) or to the properties (LinkProperties).
Return false otherwise.