Język

AdvertiseResult Enum

Definition

Identifies success or a failure reason for an advertising set operation.

public enum AdvertiseResult
type AdvertiseResult = 
Inheritance
AdvertiseResult

Fields

Name Value Description
Success 0

The requested operation was successful.

Android reference for android.bluetooth.le.AdvertisingSetCallback.ADVERTISE_SUCCESS.

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.

FailedDataTooLarge 1

Failed to start advertising as the advertise data to be broadcasted is too large.

Android reference for android.bluetooth.le.AdvertisingSetCallback.ADVERTISE_FAILED_DATA_TOO_LARGE.

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.

FailedTooManyAdvertisers 2

Failed to start advertising because no advertising instance is available.

Android reference for android.bluetooth.le.AdvertisingSetCallback.ADVERTISE_FAILED_TOO_MANY_ADVERTISERS.

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.

FailedAlreadyStarted 3

Failed to start advertising as the advertising is already started.

Android reference for android.bluetooth.le.AdvertisingSetCallback.ADVERTISE_FAILED_ALREADY_STARTED.

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.

FailedInternalError 4

Operation failed due to an internal error.

Android reference for android.bluetooth.le.AdvertisingSetCallback.ADVERTISE_FAILED_INTERNAL_ERROR.

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.

FailedFeatureUnsupported 5

This feature is not supported on this platform.

Android reference for android.bluetooth.le.AdvertisingSetCallback.ADVERTISE_FAILED_FEATURE_UNSUPPORTED.

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.

Remarks

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.

Applies to