setPortalFragmentType

Set the PortalFragment class used with displaying the Portal when added to an XML layout.

Example usage (kotlin):

builder = builder.setPortalFragmentType(MyPortalFragment::class.java)

Example usage (java):

builder = builder.setPortalFragmentType(MyPortalFragment.class);

Return

the instance of the PortalBuilder with the fragment type set

Parameters

portalFragmentType

a class that extends PortalFragment