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.

