-
public final class AdvertisingModel extends Model<AdvertisingModel.Data>
Model for collecting advertising ID and related information such as the limit ad tracking setting.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classAdvertisingModel.DataData class representing the advertising model data.
-
Constructor Summary
Constructors Constructor Description AdvertisingModel()Constructs a new instance of the model.
-
Method Summary
Modifier and Type Method Description Unitinitialize(ModelContext modelContext)Sets up the model with the specified ModelContext. AdvertisingModel.Dataget(ModelContext modelContext)Retrieves the data associated with this model. Unitstop(ModelContext modelContext)Stops the model and releases any resources it holds. -
-
Method Detail
-
initialize
Unit initialize(ModelContext modelContext)
Sets up the model with the specified ModelContext.
- Parameters:
modelContext- The context in which the model is being set up.
-
get
AdvertisingModel.Data get(ModelContext modelContext)
Retrieves the data associated with this model.
- Parameters:
modelContext- The context in which the data is being retrieved.
-
-
-
-