docs.unity3d.com
    目次を表示する/隠す

    Class IUsesGeoLocationMethods

    Inheritance
    Object
    IUsesGeoLocationMethods
    Namespace: Unity.MARS.Providers
    Syntax
    [MovedFrom("Unity.MARS")]
    public static class IUsesGeoLocationMethods

    Properties

    SubscribeGeoLocationChangedAction

    Declaration
    public static Action<Action<GeographicCoordinate>> SubscribeGeoLocationChangedAction { set; }
    Property Value
    Type Description
    Action<Action<GeographicCoordinate>>

    TryGetGeoLocationAction

    Declaration
    public static IUsesGeoLocationMethods.TryGetGeoLocationDelegate TryGetGeoLocationAction { set; }
    Property Value
    Type Description
    IUsesGeoLocationMethods.TryGetGeoLocationDelegate

    TryStartServiceFunction

    Declaration
    public static Func<bool> TryStartServiceFunction { set; }
    Property Value
    Type Description
    Func<Boolean>

    UnsubscribeGeoLocationChangedAction

    Declaration
    public static Action<Action<GeographicCoordinate>> UnsubscribeGeoLocationChangedAction { set; }
    Property Value
    Type Description
    Action<Action<GeographicCoordinate>>

    Methods

    SubscribeGeoLocationChanged(IUsesGeoLocation, Action<GeographicCoordinate>)

    Declaration
    public static void SubscribeGeoLocationChanged(this IUsesGeoLocation obj, Action<GeographicCoordinate> onChangeAction)
    Parameters
    Type Name Description
    IUsesGeoLocation obj
    Action<GeographicCoordinate> onChangeAction

    TryGetGeoLocation(IUsesGeoLocation, out GeographicCoordinate)

    Declaration
    public static bool TryGetGeoLocation(this IUsesGeoLocation obj, out GeographicCoordinate coordinate)
    Parameters
    Type Name Description
    IUsesGeoLocation obj
    GeographicCoordinate coordinate
    Returns
    Type Description
    Boolean

    TryStartService()

    Declaration
    public static bool TryStartService()
    Returns
    Type Description
    Boolean

    UnsubscribeGeoLocationChanged(IUsesGeoLocation, Action<GeographicCoordinate>)

    Declaration
    public static void UnsubscribeGeoLocationChanged(this IUsesGeoLocation obj, Action<GeographicCoordinate> onChangeAction)
    Parameters
    Type Name Description
    IUsesGeoLocation obj
    Action<GeographicCoordinate> onChangeAction
    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)