PipHintTrackerKt
Added in 1.3.0
public final class PipHintTrackerKt
Summary
Public methods |
|
|---|---|
static final void |
@RequiresApi(value = 26)Sets the |
Public methods
trackPipAnimationHintView
@RequiresApi(value = 26)
public static final void trackPipAnimationHintView(@NonNull Activity receiver, @NonNull View view)
Sets the View that will be used as reference to set the PictureInPictureParams.Builder.setSourceRectHint.
Anytime the view position changes, Activity.setPictureInPictureParams will be called with the updated view's position in window coordinates as the PictureInPictureParams.Builder.setSourceRectHint.