Class POBResource
-
- All Implemented Interfaces:
-
com.pubmatic.sdk.video.xmlserialiser.POBXMLNodeListener
public class POBResource implements POBXMLNodeListener
Class to represent non video resource associated with Non-Linear or Companion creative.
-
-
Constructor Summary
Constructors Constructor Description POBResource()
-
Method Summary
Modifier and Type Method Description voidbuild(@NonNull() POBNodeBuilder builder)POBXMLParser calls this method to build model class object with node builder POBResource.ResourceTypegetResourceType()Returns the type of resource StringgetResource()Returns the content of resource StringgetCreativeType()Returns the type of static creative -
-
Method Detail
-
build
void build(@NonNull() POBNodeBuilder builder)
POBXMLParser calls this method to build model class object with node builder
- Parameters:
builder- Instance of POBNodeBuilder, to be used for building the model class object
-
getResourceType
@Nullable() POBResource.ResourceType getResourceType()
Returns the type of resource
- Returns:
ResourceType value
-
getResource
@Nullable() String getResource()
Returns the content of resource
- Returns:
string url or content
-
getCreativeType
@Nullable() String getCreativeType()
Returns the type of static creative
- Returns:
string content type
-
-
-
-