Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

Interface IAdvertisementSettings

interface IAdvertisementSettings
Extends com.amazon.apmf.IStandard Advertisement settings

Methods

getInterval()

AdvertisementInterval getInterval()
Get interval to be configured in advertisement.

Returns

AdvertisementInterval Returns current advertisement interval.

isConnectable()

bool isConnectable()
Check if connectable to be configured in advertisement.

Returns

bool Returns true if connectable, false if not.

isPrivacyEnabled()

bool isPrivacyEnabled()
Check if random private address is used in advertisement.

Returns

bool Returns true if random private address is used, false if not

getTimeoutInMilliseconds()

i32 getTimeoutInMilliseconds()
Get timeout in milliseconds when advertisement should be stopped.

Returns

i32 Returns current timeout in milliseconds.

getType()

AdvertisementType getType()
Get property configured advertisement connectability or directability.

Returns

AdvertisementType Returns current advertisement type.
Last modified on October 29, 2026