Class LocatorHelper

    Definition

    Namespace:
    Tizen.Location
    Assembly:
    Tizen.Location.dll

    This class contains the functionality for obtaining the geographical positioning type.

    public static class LocatorHelper
    Inheritance
    object
    LocatorHelper

    Methods

    View Source

    EnableType(LocationType, bool)

    Sets the specified geographical positioning type.

    Declaration
    public static void EnableType(LocationType locationType, bool status)
    Parameters
    Type Name Description
    LocationType locationType

    The back-end positioning method to be used for LBS.

    bool status

    The location setting value.

    Exceptions
    Type Condition
    System.InvalidOperationException

    Thrown when the operation is invalid for the current state.

    System.ArgumentException

    Thrown when an invalid argument is used.

    System.NotSupportedException

    Thrown when the location is not supported.

    View Source

    IsEnabledType(LocationType)

    Checks if the specified geographical positioning type is enabled or not.

    Declaration
    public static bool IsEnabledType(LocationType locationType)
    Parameters
    Type Name Description
    LocationType locationType

    The back-end positioning method to be used for LBS.

    Returns
    Type Description
    bool

    Returns a boolean value indicating whether or not the specified method is supported.

    Exceptions
    Type Condition
    System.InvalidOperationException

    Thrown when the operation is invalid for the current state.

    System.ArgumentException

    Thrown when an invalid argument is used.

    System.NotSupportedException

    Thrown when the location is not supported.

    View Source

    IsSupportedType(LocationType)

    Checks if the specified geographical positioning type is supported or not.

    Declaration
    public static bool IsSupportedType(LocationType locationType)
    Parameters
    Type Name Description
    LocationType locationType

    The back-end positioning method to be used for LBS.

    Returns
    Type Description
    bool

    Returns a boolean value indicating whether or not the specified method is supported.

    Exceptions
    Type Condition
    System.ArgumentException

    Thrown when an invalid argument is used.

    System.NotSupportedException

    Thrown when the location is not supported.

    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX