GolfShotEventCapabilities


public final class GolfShotEventCapabilities extends ExerciseEventCapabilities


Contains the Golf Shot capabilities specific to the associated GolfShotEvent.

Summary

Public constructors

GolfShotEventCapabilities(
    boolean isSupported,
    boolean isSwingTypeClassificationSupported
)

Public methods

boolean
equals(Object other)
int
boolean

Whether the device has the capability of supporting GolfShotEvent.

final boolean

Whether the device has the capability of supporting GolfShotSwingType.

Public constructors

GolfShotEventCapabilities

Added in 1.1.0-alpha04
public GolfShotEventCapabilities(
    boolean isSupported,
    boolean isSwingTypeClassificationSupported
)

Public methods

equals

public boolean equals(Object other)

hashCode

public int hashCode()

isSupported

Added in 1.1.0-alpha04
public boolean isSupported()

Whether the device has the capability of supporting GolfShotEvent.

isSwingTypeClassificationSupported

Added in 1.1.0-alpha04
public final boolean isSwingTypeClassificationSupported()

Whether the device has the capability of supporting GolfShotSwingType.