CustomAudience.Builder.SetActivationTime(Instant) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the time, truncated to milliseconds, after which the CustomAudience will serve ads.
[Android.Runtime.Register("setActivationTime", "(Ljava/time/Instant;)Landroid/adservices/customaudience/CustomAudience$Builder;", "", ApiSince=34)]
public Android.AdServices.CustomAudiences.CustomAudience.Builder SetActivationTime(Java.Time.Instant? activationTime);
[<Android.Runtime.Register("setActivationTime", "(Ljava/time/Instant;)Landroid/adservices/customaudience/CustomAudience$Builder;", "", ApiSince=34)>]
member this.SetActivationTime : Java.Time.Instant -> Android.AdServices.CustomAudiences.CustomAudience.Builder
Parameters
- activationTime
- Instant
Returns
- Attributes
Remarks
Sets the time, truncated to milliseconds, after which the CustomAudience will serve ads.
Set to null in order for this CustomAudience to be immediately active and participate in ad selection.
See CustomAudience.getActivationTime() for more information.
Android reference for android.adservices.customaudience.CustomAudience.Builder.setActivationTime.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.