public interface AppClipHandoffCallback
Receives the answer to AppClipHandoffSource.requestHandoff.
Exactly one method is called, once.
Methods
public abstract void onHandoff(String code, long clickedSeconds) | Called with the invite code an App Clip recorded. |
public abstract void onUnavailable(String reason) | Called when no clip handoff exists. |
Method details
onHandoff
public abstract void onHandoff(String code, long clickedSeconds)Called with the invite code an App Clip recorded.
Parameters
codeString- the invite code the clip received, never empty
clickedSecondslong- when the link was tapped, in seconds since the epoch, or 0 when the clip did not record it