Język

AdvertiseFailure Enum

Definition

Enumerates values returned by several methods of AdvertiseFailure and taken as a parameter of the F:Android.Bluetooth.LE.AdvertiseCallback.OnStartFailure member.

public enum AdvertiseFailure
type AdvertiseFailure = 
Inheritance
AdvertiseFailure

Fields

Name Value Description
DataTooLarge 1

Failed to start advertising as the advertise data to be broadcasted is larger than 31 bytes.

Android reference for android.bluetooth.le.AdvertiseCallback.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.

TooManyAdvertisers 2

Failed to start advertising because no advertising instance is available.

Android reference for android.bluetooth.le.AdvertiseCallback.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.

AlreadyStarted 3

Failed to start advertising as the advertising is already started.

Android reference for android.bluetooth.le.AdvertiseCallback.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.

InternalError 4

Operation failed due to an internal error.

Android reference for android.bluetooth.le.AdvertiseCallback.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.

FeatureUnsupported 5

This feature is not supported on this platform.

Android reference for android.bluetooth.le.AdvertiseCallback.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