public class

ContainerPosition

extends Object
java.lang.Object
   ↳ com.salesforce.android.sos.api.ContainerPosition

Class Overview

Used to set the default position of the Agent Container.

Example Usage

   
     SosOptions opts = new SosOptions( ... );
     SosConfiguration config = SosConfiguration.builder()
       .defaultAgentPosition(ContainerPosition.TOP_RIGHT)
       .build();

     Sos.session(opts)
       .configuration(config)
       .start(this);
   
 

Summary

Nested Classes
@interface ContainerPosition.Corner  
Constants
int BOTTOM_LEFT
int BOTTOM_RIGHT
int TOP_LEFT
int TOP_RIGHT
Public Constructors
ContainerPosition()
Public Methods
static int[] cornerValues()
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int BOTTOM_LEFT

Constant Value: 2 (0x00000002)

public static final int BOTTOM_RIGHT

Constant Value: 3 (0x00000003)

public static final int TOP_LEFT

Constant Value: 0 (0x00000000)

public static final int TOP_RIGHT

Constant Value: 1 (0x00000001)

Public Constructors

public ContainerPosition ()

Public Methods

public static int[] cornerValues ()